mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-12 09:52:20 +00:00
🤖 Auto commit for release 'develop' on 2025-11-09
This commit is contained in:
@@ -51,9 +51,11 @@ trait AppendsLocationData
|
||||
/**
|
||||
* Abstract method stolen from "InteractsWithInput".
|
||||
*
|
||||
* @param bool $default
|
||||
* @param bool $default
|
||||
* @param null|mixed $key
|
||||
*
|
||||
* @return mixed
|
||||
*
|
||||
* @SuppressWarnings("PHPMD.BooleanArgumentFlag")
|
||||
*/
|
||||
abstract public function boolean($key = null, $default = false);
|
||||
|
||||
@@ -274,6 +274,7 @@ trait ConvertsDataTypes
|
||||
if ('y' === $value) {
|
||||
return true;
|
||||
}
|
||||
|
||||
return '1' === $value;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user