Skip to content

Commit 9695d73

Browse files
eneiasramossreichelkiatng
authored
Fix: InvalidParamTypeProvidedNULL: fixed login() method (#4399)
* bugfix/InvalidParamTypeProvidedNULL: fixed param apiKey = null in login() method * Update app/code/core/Mage/Api/Model/Server/Handler/Abstract.php --------- Co-authored-by: Sven Reichel <[email protected]> Co-authored-by: Ng Kiat Siong <[email protected]>
1 parent d6d09a7 commit 9695d73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/core/Mage/Api/Model/Server/Handler/Abstract.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ protected function _prepareResourceModelName($resource)
204204
* Login user and Retrieve session id
205205
*
206206
* @param string $username
207-
* @param string|null $apiKey
207+
* @param string $apiKey
208208
* @return stdClass|string|void
209209
*/
210210
public function login($username, $apiKey = null)

0 commit comments

Comments
 (0)