mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04: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.
|
* Return "true" or "false" based on null or empty check.
|
||||||
* We need to return false as string because of HTML parsing.
|
* We need to return false as string because of HTML parsing.
|
||||||
*
|
*
|
||||||
* @param string $property
|
* @param mixed $property
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
public function toggleHiddenProperty(string $property): string
|
public function toggleHiddenProperty($property): string
|
||||||
{
|
{
|
||||||
if (is_null($property)) {
|
if (is_null($property)) {
|
||||||
return 'false';
|
return 'false';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user