@@ -137,7 +137,7 @@ public function assertPropertyIsRequired(string $propertyName, string $className
137137 }
138138 }
139139
140- private function getProperty (string $ propertyName , string $ className ) : stdClass
140+ private function getProperty (string $ propertyName , string $ className ): stdClass
141141 {
142142 $ properties = $ this ->getProperties ($ className );
143143 $ propertyInfos = null ;
@@ -160,7 +160,7 @@ private function getProperty(string $propertyName, string $className) : stdClass
160160 *
161161 * @return array | stdClass
162162 */
163- private function getOperation (string $ method , string $ className ) : stdClass
163+ private function getOperation (string $ method , string $ className ): stdClass
164164 {
165165 foreach ($ this ->getOperations ($ className ) as $ classMethod => $ operation ) {
166166 if ($ classMethod === $ method ) {
@@ -174,7 +174,7 @@ private function getOperation(string $method, string $className) : stdClass
174174 /**
175175 * Gets all operations of a given class.
176176 */
177- private function getOperations (string $ className ) : stdClass
177+ private function getOperations (string $ className ): stdClass
178178 {
179179 $ classInfos = $ this ->getClassInfos ($ className );
180180
@@ -184,14 +184,14 @@ private function getOperations(string $className) : stdClass
184184 /**
185185 * Gets all properties of a given class.
186186 */
187- private function getProperties (string $ className ) : stdClass
187+ private function getProperties (string $ className ): stdClass
188188 {
189189 $ classInfos = $ this ->getClassInfos ($ className );
190190
191191 return $ classInfos ->{'properties ' } ?? new stdClass ();
192192 }
193193
194- private function getClassInfos (string $ className ) : stdClass
194+ private function getClassInfos (string $ className ): stdClass
195195 {
196196 $ json = $ this ->getLastJsonResponse ();
197197 $ classInfos = null ;
@@ -209,7 +209,7 @@ private function getClassInfos(string $className) : stdClass
209209 return $ classInfos ;
210210 }
211211
212- private function getLastJsonResponse () : stdClass
212+ private function getLastJsonResponse (): stdClass
213213 {
214214 $ content = $ this ->restContext ->getMink ()->getSession ()->getDriver ()->getContent ();
215215 if (null === ($ decoded = json_decode ($ content ))) {
0 commit comments