diff --git a/Editor/Field.php b/Editor/Field.php index 66091a0..3a0f208 100644 --- a/Editor/Field.php +++ b/Editor/Field.php @@ -500,7 +500,7 @@ public function upload($_ = null) * date formatting string, or a required flag. The actual options available * depend upon the validation function used. * - * @return ($_ is null ? callable|string : $this) The validation method if no parameter is given. + * @return ($_ is null ? array[] : $this) The validation method if no parameter is given. */ public function validator($_ = null, $opts = null) { diff --git a/Editor/Join.php b/Editor/Join.php index 234366c..b6a1a4e 100644 --- a/Editor/Join.php +++ b/Editor/Join.php @@ -239,7 +239,7 @@ public function get($_ = null) * link table. * @param string $table Join table name, if using a link table * - * @return ($parent is null ? Join : $this) + * @return ($parent is null ? array : $this) * * @deprecated 1.5 Please use the {@see Join->link()} method rather than this * method now. diff --git a/Ext.php b/Ext.php index f98cacf..2d76d8d 100644 --- a/Ext.php +++ b/Ext.php @@ -27,7 +27,7 @@ class Ext * If using PHP 5.4 or later, simply create a 'new' instance of the * target class and chain methods as normal. * - * @return \DataTables\Editor|\DataTables\Editor\Field|\DataTables\Editor\Join|\DataTables\Editor\Upload Instantiated class + * @return static Instantiated class */ public static function instantiate() { @@ -44,7 +44,7 @@ public static function instantiate() * This method performs exactly the same actions as the 'instantiate' * static method, but is simply shorter and easier to type! * - * @return \DataTables\Editor|\DataTables\Editor\Field|\DataTables\Editor\Join|\DataTables\Editor\Upload class + * @return static class */ public static function inst() {