Skip to content

Commit

Permalink
this is a class and needs proper definition now
Browse files Browse the repository at this point in the history
  • Loading branch information
proditis committed Feb 19, 2024
1 parent b2734b0 commit a57865c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/widgets/BooleanTransform.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class BooleanTransform
* @param mixed $val
* @return string
*/
function toCheck($val)
public static function toCheck($val)
{
if($val===true || $val===1 || $val==='1')
{
Expand All @@ -25,7 +25,7 @@ function toCheck($val)
* @param mixed $val
* @return string
*/
function toOnOff($val)
public static function toOnOff($val)
{
if($val===true || $val===1 || $val==='1')
{
Expand Down

0 comments on commit a57865c

Please sign in to comment.