Skip to content

Fix return for getValues() #45

Fix return for getValues()

Fix return for getValues() #45

Triggered via pull request April 15, 2024 16:02
Status Failure
Total duration 34s
Artifacts

phpstan.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
phpstan: src/Mods/Element/Part.php#L38
Property Slub\Mods\Element\Part::$detail is never written, only read.
phpstan: src/Mods/Element/Part.php#L44
Property Slub\Mods\Element\Part::$extent is never written, only read.
phpstan: src/Mods/Element/Part.php#L50
Property Slub\Mods\Element\Part::$date is never written, only read.
phpstan: src/Mods/Element/Part.php#L56
Property Slub\Mods\Element\Part::$text is never written, only read.
phpstan: src/Mods/Element/RelatedItem.php#L36
Property Slub\Mods\Element\RelatedItem::$allowedTypes is never read, only written.
phpstan: src/Mods/Element/Specific/Location/HoldingSimple/CopyInformation.php#L61
Method Slub\Mods\Element\Specific\Location\HoldingSimple\CopyInformation::getForm() should return Slub\Mods\Element\Specific\PhysicalDescription\Form|null but returns Slub\Mods\Element\Common\LanguageElement.
phpstan: src/Mods/Element/Specific/Location/HoldingSimple/CopyInformation.php#L106
Method Slub\Mods\Element\Specific\Location\HoldingSimple\CopyInformation::getShelfLocator() should return Slub\Mods\Element\Common\LanguageElement but returns null.
phpstan: src/Mods/Element/Specific/Location/HoldingSimple/CopyInformation.php#L184
Method Slub\Mods\Element\Specific\Location\HoldingSimple\CopyInformation::getItemIdentifier() should return Slub\Mods\Element\Specific\Location\HoldingSimple\CopyInformation\ItemIdentifier|null but returns Slub\Mods\Element\Specific\Location\HoldingSimple\CopyInformation\EnumerationAndChronology.
phpstan: src/Mods/Element/Specific/Location/Url.php#L32
Property Slub\Mods\Element\Specific\Location\Url::$allowedAccess is never read, only written.
phpstan: src/Mods/Element/Specific/Name/AlternativeName.php#L34
Property Slub\Mods\Element\Specific\Name\AlternativeName::$allowedAlternativeTypes is never read, only written.