Browse Source

Also apply to interface

Mark Scherer 11 years ago
parent
commit
756cbf6d71
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Datasource/EntityInterface.php

+ 1 - 1
src/Datasource/EntityInterface.php

@@ -36,7 +36,7 @@ interface EntityInterface extends ArrayAccess, JsonSerializable
      * keys are `setter` and `guard`
      * @return \Cake\Datasource\EntityInterface
      */
-    public function set($property, $value = null, $options = []);
+    public function set($property, $value = null, array $options = []);
 
     /**
      * Returns the value of a property by name