[CLEANUP] Review comment of PageRepository::getPage() 52/54252/2
authorElmar Hinz <t3elmar@gmail.com>
Sat, 20 May 2017 14:09:58 +0000 (16:09 +0200)
committerBenni Mack <benni@typo3.org>
Mon, 2 Oct 2017 04:53:17 +0000 (06:53 +0200)
commit2f2a63b2be0b8522a467c5b2650d1c85754f1970
tree417cc67991cd5f94be15b556f76cfcf644390361
parent40a12090fb6ab0a736dd3e0f93b5cf3a9ad82dfe
[CLEANUP] Review comment of PageRepository::getPage()

Note:

Type hints are not trivial to add to the signature. Although the
method always returns an array, there are unit tests that make use
of the assumption that the method is allowed to return null. Fixing
this goes beyond the goals of this ticket.

Releases: master, 8.7
Resolves: #81280
Change-Id: If47041fb6fc4835de879e9077b0359063083cbd2
Reviewed-on: https://review.typo3.org/54252
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/frontend/Classes/Page/PageRepository.php