[BUGFIX] Fix return type and function name in KitodoAccessViewHelper
#32
Annotations
10 errors
PHPStan Static Analysis:
Classes/Command/DigasBaseCommand.php#L208
Variable $feUser in empty() always exists and is not falsy.
|
PHPStan Static Analysis:
Classes/Command/DigasBaseCommand.php#L212
Call to method getRecordId() on an unknown class Slub\SlubWebDigas\Domain\Model\KitodoDocument.
|
PHPStan Static Analysis:
Classes/Command/DigasBaseCommand.php#L213
Call to method getTitle() on an unknown class Slub\SlubWebDigas\Domain\Model\KitodoDocument.
|
PHPStan Static Analysis:
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 Static Analysis:
Classes/Command/KitodoAccessGrantedNotification.php#L110
Parameter #1 $accessGrantedNotification of method Slub\DigasFeManagement\Domain\Model\Access::setAccessGrantedNotification() expects int, string given.
|
PHPStan Static Analysis:
Classes/Command/KitodoAccessGrantedNotification.php#L111
Parameter #1 $informUser of method Slub\DigasFeManagement\Domain\Model\Access::setInformUser() expects bool, int given.
|
PHPStan Static Analysis:
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 Static Analysis:
Classes/Controller/AccessController.php#L175
Parameter #1 $informUser of method Slub\DigasFeManagement\Domain\Model\Access::setInformUser() expects bool, int given.
|
PHPStan Static Analysis:
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 Static Analysis:
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
|
Loading