Skip to content

Commit

Permalink
Up phpstan baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
SerafimArts committed Sep 11, 2024
1 parent 2ca15d7 commit 9fb0add
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/SourceFactoryInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ interface SourceFactoryInterface
* @throws SourceExceptionInterface in case of an error in creating the
* source object
*/
public function create($source): ReadableInterface;
public function create(mixed $source): ReadableInterface;
}
2 changes: 1 addition & 1 deletion tests/CompatibilityTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ public function testSourceFactoryCompatibility(): void
public function create(mixed $source): ReadableInterface {}
public function createFromString(string $content = '', ?string $name = null): ReadableInterface {}
public function createFromFile(string $filename): FileInterface {}
public function createFromStream($stream, ?string $name = null): ReadableInterface {}
public function createFromStream(mixed $stream, ?string $name = null): ReadableInterface {}
};
}
}

0 comments on commit 9fb0add

Please sign in to comment.