File tree Expand file tree Collapse file tree 1 file changed +0
-21
lines changed
lib/Github/Api/CurrentUser Expand file tree Collapse file tree 1 file changed +0
-21
lines changed Original file line number Diff line number Diff line change @@ -57,27 +57,6 @@ public function create(array $params)
5757 return $ this ->post ('/user/keys ' , $ params );
5858 }
5959
60- /**
61- * Updates deploy key for the authenticated user.
62- *
63- * @link http://developer.github.com/v3/repos/keys/
64- *
65- * @param string $id
66- * @param array $params
67- *
68- * @throws \Github\Exception\MissingArgumentException
69- *
70- * @return array
71- */
72- public function update ($ id , array $ params )
73- {
74- if (!isset ($ params ['title ' ], $ params ['key ' ])) {
75- throw new MissingArgumentException (array ('title ' , 'key ' ));
76- }
77-
78- return $ this ->patch ('/user/keys/ ' .rawurlencode ($ id ), $ params );
79- }
80-
8160 /**
8261 * Removes deploy key for the authenticated user.
8362 *
You can’t perform that action at this time.
0 commit comments