Skip to content

Commit

Permalink
Add missing parameter type declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Dec 23, 2024
1 parent 153d053 commit 77f5594
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Framework/Attributes/CoversMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
* @param class-string $className
* @param non-empty-string $methodName
*/
public function __construct(string $className, $methodName)
public function __construct(string $className, string $methodName)
{
$this->className = $className;
$this->methodName = $methodName;
Expand Down
2 changes: 1 addition & 1 deletion src/Framework/Attributes/UsesMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
* @param class-string $className
* @param non-empty-string $methodName
*/
public function __construct(string $className, $methodName)
public function __construct(string $className, string $methodName)
{
$this->className = $className;
$this->methodName = $methodName;
Expand Down

0 comments on commit 77f5594

Please sign in to comment.