File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ public function createEnvironmentRole(
191191 *
192192 * @throws Exception\WorkOSException
193193 *
194- * @return array{0: Resource\Role[]}
194+ * @return Resource\Role[]
195195 */
196196 public function listEnvironmentRoles ()
197197 {
@@ -204,7 +204,7 @@ public function listEnvironmentRoles()
204204 \array_push ($ roles , Resource \Role::constructFromResponse ($ responseData ));
205205 }
206206
207- return [ $ roles] ;
207+ return $ roles ;
208208 }
209209
210210 /**
Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ public function testListEnvironmentRoles()
181181
182182 $ role = $ this ->roleFixture ();
183183
184- list ( $ roles) = $ this ->rbac ->listEnvironmentRoles ();
184+ $ roles = $ this ->rbac ->listEnvironmentRoles ();
185185 $ this ->assertSame ($ role , $ roles [0 ]->toArray ());
186186 }
187187
You can’t perform that action at this time.
0 commit comments