File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed
Oauth2/Block/Adminhtml/Client Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -26,11 +26,13 @@ class Mage_Api2_Model_Auth_Adapter_Oauth2 extends Mage_Api2_Model_Auth_Adapter_A
2626 /**
2727 * Process request and figure out an API user type and its identifier
2828 *
29- * Returns Varien_Object with two properties: type and id
29+ * Returns stdClass object with two properties: type and id
30+ *
31+ * @return stdClass
3032 */
31- public function getUserParams (Mage_Api2_Model_Request $ request ): Varien_Object
33+ public function getUserParams (Mage_Api2_Model_Request $ request )
3234 {
33- $ userParamsObj = new Varien_Object ( ['type ' => null , 'id ' => null ]) ;
35+ $ userParamsObj = ( object ) ['type ' => null , 'id ' => null ];
3436
3537 try {
3638 $ token = $ this ->_validateToken ($ request );
Original file line number Diff line number Diff line change 1414 * @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
1515 */
1616
17- declare (strict_types=1 );
17+ declare (strict_types=1 );
1818
1919class Mage_Oauth2_Block_Adminhtml_Client_Edit extends Mage_Adminhtml_Block_Widget_Form_Container
2020{
Original file line number Diff line number Diff line change 1414 * @license https://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
1515 */
1616
17- declare (strict_types=1 );
17+ declare (strict_types=1 );
1818
1919class Mage_Oauth2_Block_Adminhtml_Client_Edit_Form extends Mage_Adminhtml_Block_Widget_Form
2020{
You can’t perform that action at this time.
0 commit comments