@@ -78,7 +78,7 @@ class ObjectIndexer
7878 * @param Client $client
7979 * @return void
8080 */
81- public function indexObject ($ object , $ signalInformation = null , Client $ client = null )
81+ public function indexObject ($ object , $ signalInformation = null , ? Client $ client = null )
8282 {
8383 $ type = $ this ->getIndexTypeForObject ($ object , $ client );
8484 if ($ type === null ) {
@@ -98,7 +98,7 @@ public function indexObject($object, $signalInformation = null, Client $client =
9898 * @param Client $client
9999 * @return GenericType
100100 */
101- protected function getIndexTypeForObject ($ object , Client $ client = null )
101+ protected function getIndexTypeForObject ($ object , ? Client $ client = null )
102102 {
103103 if ($ client === null ) {
104104 $ client = $ this ->client ;
@@ -144,7 +144,7 @@ protected function getIndexablePropertiesAndValuesFromObject($object)
144144 * @param Client $client
145145 * @return void
146146 */
147- public function removeObject ($ object , $ signalInformation = null , Client $ client = null )
147+ public function removeObject ($ object , $ signalInformation = null , ? Client $ client = null )
148148 {
149149 $ type = $ this ->getIndexTypeForObject ($ object , $ client );
150150 if ($ type === null ) {
@@ -162,7 +162,7 @@ public function removeObject($object, $signalInformation = null, Client $client
162162 * @param Client $client
163163 * @return string one of this' ACTION_TYPE_* constants or NULL if no action is required
164164 */
165- public function objectIndexActionRequired ($ object , Client $ client = null )
165+ public function objectIndexActionRequired ($ object , ? Client $ client = null )
166166 {
167167 $ type = $ this ->getIndexTypeForObject ($ object , $ client );
168168 if ($ type === null ) {
0 commit comments