mirror of
https://github.com/predis/predis.git
synced 2026-08-27 18:51:07 +00:00
Add phpstan level 0 (#1022)
* Remove unused arguments * Fix return types * Removed unused parameter and argument * Add phpstan job * merge files * Delete phpstan-baseline.neon * Delete static-analysis.yml * merge workflows * Update composer.json * format yaml * install composer reps * fix yaml Co-authored-by: Till Krüss <tillkruss@users.noreply.github.com>
This commit is contained in:
@@ -29,7 +29,7 @@ interface StrategyInterface
|
||||
*
|
||||
* @param CommandInterface $command Command instance.
|
||||
*
|
||||
* @return int
|
||||
* @return int|null
|
||||
*/
|
||||
public function getSlot(CommandInterface $command);
|
||||
|
||||
@@ -39,7 +39,7 @@ interface StrategyInterface
|
||||
*
|
||||
* @param string $key Key string.
|
||||
*
|
||||
* @return int
|
||||
* @return int|null
|
||||
*/
|
||||
public function getSlotByKey($key);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user