-
-
Notifications
You must be signed in to change notification settings - Fork 436
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mage_Api - IDE improvements #677
Changes from all commits
c76ec23
51e4b6a
0f686ca
e72cef0
4c1ad3e
c0025dc
9c0217c
088d028
7e15b69
7a7cd0e
5bea2eb
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?php | ||
|
||
/** | ||
* Class Mage_Api_Helper_Object_Role | ||
* | ||
* @method int getTreeLevel() | ||
*/ | ||
class Mage_Api_Helper_Object_Role extends Varien_Object | ||
{ | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. IDE unrelated change (new code) There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Proposal. See #687. Should not break anything. |
||
|
||
/** | ||
* Class Mage_Api_Object_Wsdl | ||
* | ||
* @method string getName() | ||
* @method $this setName(string $value) | ||
* @method $this setHandler(string $value) | ||
* @method string getUrl() | ||
* @method $this setUrl(string $value) | ||
* @method string getWsdlContent() | ||
*/ | ||
class Mage_Api_Helper_Object_Wsdl extends Varien_Object | ||
{ | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,9 +37,9 @@ class Mage_Api_Model_Acl_Assert_Time implements Zend_Acl_Assert_Interface | |
/** | ||
* Assert time | ||
* | ||
* @param Zend_Acl $acl | ||
* @param Zend_Acl_Role_Interface $role | ||
* @param Zend_Acl_Resource_Interface $resource | ||
* @param Mage_Api_Model_Acl $acl | ||
* @param Mage_Api_Model_Acl_Role $role | ||
* @param Mage_Api_Model_Acl_Resource $resource | ||
* @param string $privilege | ||
* @return boolean | ||
*/ | ||
|
@@ -49,6 +49,9 @@ public function assert(Mage_Api_Model_Acl $acl, Mage_Api_Model_Acl_Role $role = | |
return $this->_isCleanTime(time()); | ||
} | ||
|
||
/** | ||
* @param $time | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. no benefit without type for IDE There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Method has no content. Just supress PHPStorm warning ;) |
||
*/ | ||
protected function _isCleanTime($time) | ||
{ | ||
// ... | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
IDE unrelated change (new code?)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Proposal. See #687. Should not break anything.