Skip to content

Commit 3c64fbd

Browse files
committed
Make docblocks work with psalm
1 parent 6d3c5d7 commit 3c64fbd

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/TableComponent.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,12 @@ public function setTranslationStrings()
7575
}
7676

7777
/**
78-
* @return mixed
78+
* @return \Illuminate\Database\Eloquent\Builder
7979
*/
8080
abstract public function query(): Builder;
8181

8282
/**
83-
* @return mixed
83+
* @return array
8484
*/
8585
abstract public function columns(): array;
8686

src/Views/Column.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,12 +94,12 @@ public function __get($property)
9494
}
9595

9696
/**
97-
* @param null $text
98-
* @param null $attribute
97+
* @param string $text
98+
* @param string $attribute
9999
*
100100
* @return static
101101
*/
102-
public static function make($text = null, $attribute = null)
102+
public static function make($text, $attribute = null)
103103
{
104104
return new static($text, $attribute);
105105
}

0 commit comments

Comments
 (0)