Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Events.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Evenement\EventEmitterTrait;
use InvalidArgumentException;

trait Events

Check failure on line 8 in src/Events.php

View workflow job for this annotation

GitHub Actions / PHP / Static analysis (8.3) / PHPStan 8.3

Trait ipl\Stdlib\Events is used zero times and is not analysed.

Check failure on line 8 in src/Events.php

View workflow job for this annotation

GitHub Actions / PHP / Static analysis (8.5) / PHPStan 8.5

Trait ipl\Stdlib\Events is used zero times and is not analysed.

Check failure on line 8 in src/Events.php

View workflow job for this annotation

GitHub Actions / PHP / Static analysis (8.4) / PHPStan 8.4

Trait ipl\Stdlib\Events is used zero times and is not analysed.

Check failure on line 8 in src/Events.php

View workflow job for this annotation

GitHub Actions / PHP / Static analysis (8.2) / PHPStan 8.2

Trait ipl\Stdlib\Events is used zero times and is not analysed.
{
use EventEmitterTrait {
EventEmitterTrait::on as private evenementUnvalidatedOn;
Expand Down Expand Up @@ -50,7 +50,7 @@
* @param string $event
* @return bool
*/
public function isValidEvent($event)
public function isValidEvent(string $event): bool
{
return true;
}
Expand Down
Loading