Skip to content
Permalink
Browse files

correct the case for `Cake\Datasource\EntityInterface`

as it can be misunderstood by some IDE and static analysis tools.
  • Loading branch information...
antograssiot committed Aug 13, 2015
1 parent 150be2d commit 9d98905e2e547a161d4d59ae1d9fe7444b7a1015
Showing with 4 additions and 4 deletions.
  1. +2 −2 src/Datasource/EntityInterface.php
  2. +1 −1 src/ORM/Table.php
  3. +1 −1 src/View/Form/EntityContext.php
@@ -69,7 +69,7 @@ public function unsetProperty($property);
* will be returned. Otherwise the hidden properties will be set.
*
* @param null|array $properties Either an array of properties to hide or null to get properties
* @return array|\Cake\DataSource\EntityInterface
* @return array|\Cake\Datasource\EntityInterface
*/
public function hiddenProperties($properties = null);
@@ -80,7 +80,7 @@ public function hiddenProperties($properties = null);
* will be returned. Otherwise the virtual properties will be set.
*
* @param null|array $properties Either an array of properties to treat as virtual or null to get properties
* @return array|\Cake\DataSource\EntityInterface
* @return array|\Cake\Datasource\EntityInterface
*/
public function virtualProperties($properties = null);
@@ -1656,7 +1656,7 @@ public function delete(EntityInterface $entity, $options = [])
* Will delete the entity provided. Will remove rows from any
* dependent associations, and clear out join tables for BelongsToMany associations.
*
* @param \Cake\DataSource\EntityInterface $entity The entity to delete.
* @param \Cake\Datasource\EntityInterface $entity The entity to delete.
* @param \ArrayObject $options The options for the delete.
* @throws \InvalidArgumentException if there are no primary key values of the
* passed entity
@@ -256,7 +256,7 @@ protected function _extractMultiple($values, $path)
*
* @param array|null $path Each one of the parts in a path for a field name
* or null to get the entity passed in contructor context.
* @return \Cake\DataSource\EntityInterface|\Traversable|array|bool
* @return \Cake\Datasource\EntityInterface|\Traversable|array|bool
* @throws \RuntimeException When properties cannot be read.
*/
public function entity($path = null)

0 comments on commit 9d98905

Please sign in to comment.
You can’t perform that action at this time.