Skip to content
Permalink
Browse files

DateTime: Missing typehints from parent

  • Loading branch information...
mabar committed Sep 24, 2019
1 parent ec703d3 commit a231f8be9e08c179e72b44085ef832df379c8e6d
Showing with 1 addition and 3 deletions.
  1. +1 −3 src/DateTime.php
@@ -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);
}

0 comments on commit a231f8b

Please sign in to comment.
You can’t perform that action at this time.