diff options
-rw-r--r-- | includes/cache.inc | 12 | ||||
-rw-r--r-- | includes/entity.inc | 13 | ||||
-rw-r--r-- | modules/system/system.queue.inc | 13 |
3 files changed, 14 insertions, 24 deletions
diff --git a/includes/cache.inc b/includes/cache.inc index f76164b91..c2a514646 100644 --- a/includes/cache.inc +++ b/includes/cache.inc @@ -217,13 +217,6 @@ function cache_is_empty($bin) { * @see DrupalDatabaseCache */ interface DrupalCacheInterface { - /** - * Constructs a new cache interface. - * - * @param $bin - * The cache bin for which the object is created. - */ - function __construct($bin); /** * Returns data from the persistent cache. @@ -311,7 +304,10 @@ class DrupalDatabaseCache implements DrupalCacheInterface { protected $bin; /** - * Constructs a new DrupalDatabaseCache object. + * Constructs a DrupalDatabaseCache object. + * + * @param $bin + * The cache bin for which the object is created. */ function __construct($bin) { $this->bin = $bin; diff --git a/includes/entity.inc b/includes/entity.inc index 2fefd5904..25f75846c 100644 --- a/includes/entity.inc +++ b/includes/entity.inc @@ -14,14 +14,6 @@ interface DrupalEntityControllerInterface { /** - * Constructor. - * - * @param $entityType - * The entity type for which the instance is created. - */ - public function __construct($entityType); - - /** * Resets the internal, static entity cache. * * @param $ids @@ -119,6 +111,9 @@ class DrupalDefaultEntityController implements DrupalEntityControllerInterface { /** * Constructor: sets basic variables. + * + * @param $entityType + * The entity type for which the instance is created. */ public function __construct($entityType) { $this->entityType = $entityType; @@ -634,7 +629,7 @@ class EntityFieldQuery { /** * Adds a condition on field values. - * + * * Note that entities with empty field values will be excluded from the * EntityFieldQuery results when using this method. * diff --git a/modules/system/system.queue.inc b/modules/system/system.queue.inc index 47d8e7cc3..901c4d6db 100644 --- a/modules/system/system.queue.inc +++ b/modules/system/system.queue.inc @@ -97,13 +97,6 @@ class DrupalQueue { } interface DrupalQueueInterface { - /** - * Start working with a queue. - * - * @param $name - * Arbitrary string. The name of the queue to work with. - */ - public function __construct($name); /** * Add a queue item and store it directly to the queue. @@ -315,6 +308,12 @@ class MemoryQueue implements DrupalQueueInterface { */ protected $id_sequence; + /** + * Start working with a queue. + * + * @param $name + * Arbitrary string. The name of the queue to work with. + */ public function __construct($name) { $this->queue = array(); $this->id_sequence = 0; |