Skip to content

Commit 5389602

Browse files
committed
perf: remove $params['repositories'] validation check
Signed-off-by: Hari Darshan Gorana <er.haridarshan@gmail.com>
1 parent fc5a76c commit 5389602

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

lib/Github/Api/User/Migration.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,16 +24,10 @@ public function list(array $params = [])
2424
*
2525
* @param array $params
2626
*
27-
* @throws MissingArgumentException
28-
*
2927
* @return array|string
3028
*/
3129
public function start(array $params)
3230
{
33-
if (!isset($params['repositories'])) {
34-
throw new MissingArgumentException(['repositories']);
35-
}
36-
3731
return $this->post('/user/migrations', $params);
3832
}
3933

0 commit comments

Comments
 (0)