Use PSR-12 code style

This commit is contained in:
James Cole
2022-10-30 14:24:37 +01:00
parent f53923f16c
commit f52675068b
151 changed files with 251 additions and 403 deletions

View File

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

View File

@@ -28,5 +28,4 @@ namespace FireflyIII\Support\Request;
*/
trait ConvertAPIDataTypes
{
}

View File

@@ -314,5 +314,4 @@ trait ConvertsDataTypes
return (int) $value;
}
}

View File

@@ -86,5 +86,4 @@ trait GetRecurrenceData
return $return;
}
}

View File

@@ -28,7 +28,6 @@ namespace FireflyIII\Support\Request;
*/
trait GetRuleConfiguration
{
/**
* @return array
*/