Skip to content

[BUGFIX] Change return type in newAction function #31

[BUGFIX] Change return type in newAction function

[BUGFIX] Change return type in newAction function #31

Triggered via pull request October 7, 2024 16:32
Status Failure
Total duration 26s
Artifacts

phpstan.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
phpstan: Classes/Command/DigasBaseCommand.php#L208
Variable $feUser in empty() always exists and is not falsy.
phpstan: Classes/Command/DigasBaseCommand.php#L212
Call to method getRecordId() on an unknown class Slub\SlubWebDigas\Domain\Model\KitodoDocument.
phpstan: Classes/Command/DigasBaseCommand.php#L213
Call to method getTitle() on an unknown class Slub\SlubWebDigas\Domain\Model\KitodoDocument.
phpstan: Classes/Command/KitodoAccessGrantedNotification.php#L107
Parameter #2 $notificationTimestamp (string) of method Slub\DigasFeManagement\Command\KitodoAccessGrantedNotification::updateAccessEntry() should be compatible with parameter $notificationTimestamp (int) of method Slub\DigasFeManagement\Command\DigasBaseCommand::updateAccessEntry()
phpstan: Classes/Command/KitodoAccessGrantedNotification.php#L110
Parameter #1 $accessGrantedNotification of method Slub\DigasFeManagement\Domain\Model\Access::setAccessGrantedNotification() expects int, string given.
phpstan: Classes/Command/KitodoAccessGrantedNotification.php#L111
Parameter #1 $informUser of method Slub\DigasFeManagement\Domain\Model\Access::setInformUser() expects bool, int given.
phpstan: Classes/Controller/AccessController.php#L166
PHPDoc tag @throws with type TYPO3\CMS\Extbase\Mvc\Exception\StopActionException|TYPO3\CMS\Extbase\Mvc\Exception\UnsupportedRequestTypeException|TYPO3\CMS\Extbase\Persistence\Exception\IllegalObjectTypeException|TYPO3\CMS\Extbase\Persistence\Exception\UnknownObjectException is not subtype of Throwable
phpstan: Classes/Controller/AccessController.php#L175
Parameter #1 $informUser of method Slub\DigasFeManagement\Domain\Model\Access::setInformUser() expects bool, int given.
phpstan: Classes/Controller/AccessController.php#L213
PHPDoc tag @throws with type TYPO3\CMS\Extbase\Mvc\Exception\StopActionException|TYPO3\CMS\Extbase\Mvc\Exception\UnsupportedRequestTypeException|TYPO3\CMS\Extbase\Persistence\Exception\IllegalObjectTypeException is not subtype of Throwable
phpstan: Classes/Controller/AccessController.php#L244
PHPDoc tag @throws with type TYPO3\CMS\Extbase\Mvc\Exception\StopActionException|TYPO3\CMS\Extbase\Mvc\Exception\UnsupportedRequestTypeException|TYPO3\CMS\Extbase\Persistence\Exception\IllegalObjectTypeException|TYPO3\CMS\Extbase\Persistence\Exception\UnknownObjectException is not subtype of Throwable