From 95d93b206d552bf4c3298ec93ee54463d00a4bc0 Mon Sep 17 00:00:00 2001 From: dereuromark Date: Fri, 29 Sep 2017 20:17:33 +0200 Subject: [PATCH] Fix doc blocks around Entity. --- src/Datasource/EntityInterface.php | 2 +- src/Datasource/EntityTrait.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Datasource/EntityInterface.php b/src/Datasource/EntityInterface.php index e5a72b9cf33..1570ed1600b 100644 --- a/src/Datasource/EntityInterface.php +++ b/src/Datasource/EntityInterface.php @@ -70,7 +70,7 @@ public function &get($property); * Returns whether this entity contains a property named $property * regardless of if it is empty. * - * @param string $property The property to check. + * @param string|array $property The property to check. * @return bool */ public function has($property); diff --git a/src/Datasource/EntityTrait.php b/src/Datasource/EntityTrait.php index c3aac51d8ac..112e1093bfe 100644 --- a/src/Datasource/EntityTrait.php +++ b/src/Datasource/EntityTrait.php @@ -151,7 +151,7 @@ public function __set($property, $value) * Returns whether this entity contains a property named $property * regardless of if it is empty. * - * @param string $property The property to check. + * @param string|array $property The property to check. * @return bool * @see \Cake\ORM\Entity::has() */