diff --git a/includes/cache-install.inc b/includes/cache-install.inc index 9e0dd01..ecabc87 100644 --- a/includes/cache-install.inc +++ b/includes/cache-install.inc @@ -17,6 +17,14 @@ class DrupalFakeCache extends DrupalDatabaseCache implements DrupalCacheInterface { /** + * Constructs a fake cache interface. + * + * @param $bin + * The cache bin for which the object is created. + */ + function __construct($bin); + + /** * Overrides DrupalDatabaseCache::get(). */ function get($cid) { diff --git a/includes/cache.inc b/includes/cache.inc index f76164b..c2a5146 100644 --- a/includes/cache.inc +++ b/includes/cache.inc @@ -217,13 +217,6 @@ * @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 @@ 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 2fefd59..25f7584 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 @@ /** * 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 @@ /** * 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 47d8e7c..901c4d6 100644 --- a/modules/system/system.queue.inc +++ b/modules/system/system.queue.inc @@ -97,13 +97,6 @@ } 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 @@ */ 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;