mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
correct the doc block
This commit is contained in:
parent
94f19ef4b8
commit
83b0c5042f
1 changed files with 8 additions and 8 deletions
|
@ -267,10 +267,10 @@ abstract class ObjectCollection {
|
|||
/**
|
||||
* Gets the list of attached objects, or, whether the given object is attached
|
||||
*
|
||||
* @param string $name Optional. The name of the behavior to check the status of. If omitted,
|
||||
* returns an array of currently-attached behaviors
|
||||
* @return mixed If $name is specified, returns the boolean status of the corresponding behavior.
|
||||
* Otherwise, returns an array of all attached behaviors.
|
||||
* @param string $name Optional. The name of the object to check the status of. If omitted,
|
||||
* returns an array of currently-attached objects
|
||||
* @return mixed If $name is specified, returns the boolean status of the corresponding object.
|
||||
* Otherwise, returns an array of all attached objects.
|
||||
* @deprecated Use loaded instead.
|
||||
*/
|
||||
public function attached($name = null) {
|
||||
|
@ -280,10 +280,10 @@ abstract class ObjectCollection {
|
|||
/**
|
||||
* Gets the list of loaded objects, or, whether the given object is loaded
|
||||
*
|
||||
* @param string $name Optional. The name of the behavior to check the status of. If omitted,
|
||||
* returns an array of currently-loaded behaviors
|
||||
* @return mixed If $name is specified, returns the boolean status of the corresponding behavior.
|
||||
* Otherwise, returns an array of all loaded behaviors.
|
||||
* @param string $name Optional. The name of the object to check the status of. If omitted,
|
||||
* returns an array of currently-loaded objects
|
||||
* @return mixed If $name is specified, returns the boolean status of the corresponding object.
|
||||
* Otherwise, returns an array of all loaded objects.
|
||||
*/
|
||||
public function loaded($name = null) {
|
||||
if (!empty($name)) {
|
||||
|
|
Loading…
Reference in a new issue