diff options
author | David Rothstein <drothstein@gmail.com> | 2013-08-05 00:44:14 -0400 |
---|---|---|
committer | David Rothstein <drothstein@gmail.com> | 2013-08-05 00:44:14 -0400 |
commit | f58bc6af2477dc3cd136c7ef96cb354b819f6120 (patch) | |
tree | c76c9164844f848f9f2693a1b1f7ddd33feb4b5c /includes | |
parent | 1b0d6d22d336d23c0c3bb29cd0468a03ab3fbb4a (diff) | |
download | brdo-f58bc6af2477dc3cd136c7ef96cb354b819f6120.tar.gz brdo-f58bc6af2477dc3cd136c7ef96cb354b819f6120.tar.bz2 |
Issue #1813966 by Sylvain Lecoy: Remove __construct() from interfaces definition.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/cache.inc | 12 | ||||
-rw-r--r-- | includes/entity.inc | 13 |
2 files changed, 8 insertions, 17 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. * |