Remove string requirement from toggleHiddenProperty
This commit is contained in:
parent
085d08bbcb
commit
84e618d1b6
1 changed files with 2 additions and 2 deletions
|
|
@ -70,10 +70,10 @@ trait TableHelpers
|
|||
* Return "true" or "false" based on null or empty check.
|
||||
* We need to return false as string because of HTML parsing.
|
||||
*
|
||||
* @param string $property
|
||||
* @param mixed $property
|
||||
* @return string
|
||||
*/
|
||||
public function toggleHiddenProperty(string $property): string
|
||||
public function toggleHiddenProperty($property): string
|
||||
{
|
||||
if (is_null($property)) {
|
||||
return 'false';
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue