[BUGFIX] Remove empty()
check for $user
#70
Annotations
10 errors
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/Controller/AccessController.php#L418
Call to method getTitle() on an unknown class Slub\SlubWebDigas\Domain\Model\KitodoDocument.
|
phpstan:
Classes/Controller/AdministrationController.php#L131
Parameter #1 $inactivemessageTstamp of method Slub\DigasFeManagement\Domain\Model\User::setInactivemessageTstamp() expects DateTime, null given.
|
phpstan:
Classes/Controller/BasketController.php#L122
Call to method getUid() on an unknown class Slub\SlubWebDigas\Domain\Model\KitodoDocument.
|
phpstan:
Classes/Controller/BasketController.php#L142
Property Slub\DigasFeManagement\Controller\BasketController::$documents (TYPO3\CMS\Extbase\Persistence\Generic\QueryResult) does not accept array<string, array>.
|
phpstan:
Classes/Controller/BasketController.php#L202
Property Slub\DigasFeManagement\Controller\BasketController::$documents (TYPO3\CMS\Extbase\Persistence\Generic\QueryResult) in empty() is not falsy.
|
phpstan:
Classes/Controller/BasketController.php#L236
Parameter #1 $documents of method Slub\DigasFeManagement\Controller\BasketController::sendRequestAccessMail() expects array<Slub\SlubWebDigas\Domain\Model\KitodoDocument>, array<int, Slub\DigasFeManagement\Domain\Model\Access> given.
|