Skip to content

Commit

Permalink
Adds parameter type
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelstolt committed Jul 4, 2024
1 parent 382bca0 commit e1c6c1d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Analyser.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,12 +167,12 @@ public function hasTextAutoConfiguration(): bool
/**
* Set the glob pattern file.
*
* @param string $file
* @throws \Stolt\LeanPackage\Exceptions\InvalidGlobPatternFile
* @param string $file
* @throws \Stolt\LeanPackage\Exceptions\NonExistentGlobPatternFile
* @throws \Stolt\LeanPackage\Exceptions\InvalidGlobPatternFile
* @return Analyser
*/
public function setGlobPatternFromFile($file): Analyser
public function setGlobPatternFromFile(string $file): Analyser
{
if (!\is_file($file)) {
$message = "Glob pattern file {$file} doesn't exist.";
Expand Down

0 comments on commit e1c6c1d

Please sign in to comment.