mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 13:12:50 +01:00
Remove string requirement from toggleHiddenProperty
This commit is contained in:
parent
085d08bbcb
commit
84e618d1b6
@ -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…
Reference in New Issue
Block a user