Update File.php #5
Annotations
6 errors
Run psalm:
demos/demo.php#L18
demos/demo.php:18:13: RedundantCondition: Type 4 for $var1 is always =int(4) (see https://psalm.dev/122)
|
Run psalm:
src/Terremoth/Async/File.php#L20
src/Terremoth/Async/File.php:20:28: InvalidNullableReturnType: The declared return type 'int' for Terremoth\Async\File::run is not nullable, but 'null' contains null (see https://psalm.dev/144)
|
Run psalm:
src/Terremoth/Async/File.php#L20
src/Terremoth/Async/File.php:20:28: PossiblyUnusedReturnValue: The return value for this method is never used (see https://psalm.dev/273)
|
Run psalm:
src/Terremoth/Async/File.php#L29
src/Terremoth/Async/File.php:29:16: NullableReturnStatement: The declared return type 'int' for Terremoth\Async\File::run is not nullable, but the function returns 'null' (see https://psalm.dev/139)
|
Run psalm:
src/Terremoth/Async/Process.php#L32
src/Terremoth/Async/Process.php:32:51: PossiblyUnusedReturnValue: The return value for this method is never used (see https://psalm.dev/273)
|
Run psalm
Process completed with exit code 2.
|
Loading