@@ -208,7 +208,7 @@ public function __construct(
208208 \VuFind \Date \Converter $ dateConverter ,
209209 SearchService $ ss ,
210210 $ sessionFactory ,
211- HttpRequest $ request = null
211+ ? HttpRequest $ request = null
212212 ) {
213213 $ this ->dateConverter = $ dateConverter ;
214214 $ this ->searchService = $ ss ;
@@ -471,7 +471,7 @@ public function getAccountBlocks($patron)
471471 *
472472 * @return array
473473 */
474- protected function getRandomHolding ($ id , $ number , array $ patron = null )
474+ protected function getRandomHolding ($ id , $ number , ? array $ patron = null )
475475 {
476476 $ status = $ this ->getFakeStatus ();
477477 $ location = $ this ->getFakeLoc ();
@@ -730,7 +730,7 @@ protected function getSession($patron = null)
730730 *
731731 * @SuppressWarnings(PHPMD.UnusedFormalParameter)
732732 */
733- protected function getSimulatedStatus ($ id , array $ patron = null )
733+ protected function getSimulatedStatus ($ id , ? array $ patron = null )
734734 {
735735 $ id = (string )$ id ;
736736
@@ -872,7 +872,7 @@ protected function getNotesAndSummary(int $itemNum): array
872872 * id, availability (boolean), status, location, reserve, callnumber,
873873 * duedate, number, barcode.
874874 */
875- public function getHolding ($ id , array $ patron = null , array $ options = [])
875+ public function getHolding ($ id , ? array $ patron = null , array $ options = [])
876876 {
877877 $ this ->checkIntermittentFailure ();
878878
0 commit comments