Skip to content

Commit 9695d73

Browse files
eneiasramosSven Reichelkiatng
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 <github-sr@hotmail.com> Co-authored-by: Ng Kiat Siong <kiatsiong.ng@gmail.com>
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

+1-1
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)