1
0
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:
Benjamin Beganović 2020-08-10 12:57:53 +02:00
parent 085d08bbcb
commit 84e618d1b6

View File

@ -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';