Skip to content

Commit

Permalink
DateTime: Missing typehints from parent
Browse files Browse the repository at this point in the history
  • Loading branch information
mabar committed Sep 24, 2019
1 parent ec703d3 commit a231f8b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/DateTime.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,9 @@ public static function from($time): self
}

/**
* @param string $modify
* @return static
* @phpcsSuppress SlevomatCodingStandard.TypeHints.TypeHintDeclaration.MissingParameterTypeHint
*/
public function modifyClone($modify = ''): self
public function modifyClone(string $modify = ''): self
{
return parent::modifyClone($modify);
}
Expand Down

0 comments on commit a231f8b

Please sign in to comment.