mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-07 14:41:20 +00:00
Use PSR-12 code style
This commit is contained in:
@@ -240,13 +240,12 @@ trait AppendsLocationData
|
||||
$zoomLevelKey = $this->getLocationKey($prefix, 'zoom_level');
|
||||
|
||||
return (
|
||||
null === $this->get($longitudeKey)
|
||||
&& null === $this->get($latitudeKey)
|
||||
&& null === $this->get($zoomLevelKey))
|
||||
&& ('PUT' === $this->method()
|
||||
|| ('POST' === $this->method() && $this->routeIs('*.update'))
|
||||
null === $this->get($longitudeKey)
|
||||
&& null === $this->get($latitudeKey)
|
||||
&& null === $this->get($zoomLevelKey))
|
||||
&& (
|
||||
'PUT' === $this->method()
|
||||
|| ('POST' === $this->method() && $this->routeIs('*.update'))
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -28,5 +28,4 @@ namespace FireflyIII\Support\Request;
|
||||
*/
|
||||
trait ConvertAPIDataTypes
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -314,5 +314,4 @@ trait ConvertsDataTypes
|
||||
|
||||
return (int) $value;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -86,5 +86,4 @@ trait GetRecurrenceData
|
||||
|
||||
return $return;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -28,7 +28,6 @@ namespace FireflyIII\Support\Request;
|
||||
*/
|
||||
trait GetRuleConfiguration
|
||||
{
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user