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)
57
57
return $ this ->post ('/user/keys ' , $ params );
58
58
}
59
59
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
-
81
60
/**
82
61
* Removes deploy key for the authenticated user.
83
62
*
You can’t perform that action at this time.
0 commit comments