Skip to content

Commit

Permalink
fix phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
mvorisek committed Dec 7, 2023
1 parent 611233c commit 123e33c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Editor/Field.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
2 changes: 1 addition & 1 deletion Editor/Join.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions Ext.php
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand All @@ -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()
{
Expand Down

0 comments on commit 123e33c

Please sign in to comment.