Run CS fixer

This commit is contained in:
James Cole 2022-11-02 05:02:09 +01:00
parent 817a9f57c4
commit 409b4fe4d9
No known key found for this signature in database
GPG Key ID: B49A324B7EAD6D80
3 changed files with 18 additions and 18 deletions

View File

@ -375,16 +375,16 @@
},
{
"name": "friendsofphp/php-cs-fixer",
"version": "v3.12.0",
"version": "v3.13.0",
"source": {
"type": "git",
"url": "https://github.com/FriendsOfPHP/PHP-CS-Fixer.git",
"reference": "eae11d945e2885d86e1c080eec1bb30a2aa27998"
"url": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer.git",
"reference": "a6232229a8309e8811dc751c28b91cb34b2943e1"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/zipball/eae11d945e2885d86e1c080eec1bb30a2aa27998",
"reference": "eae11d945e2885d86e1c080eec1bb30a2aa27998",
"url": "https://api.github.com/repos/PHP-CS-Fixer/PHP-CS-Fixer/zipball/a6232229a8309e8811dc751c28b91cb34b2943e1",
"reference": "a6232229a8309e8811dc751c28b91cb34b2943e1",
"shasum": ""
},
"require": {
@ -408,7 +408,7 @@
},
"require-dev": {
"justinrainbow/json-schema": "^5.2",
"keradus/cli-executor": "^1.5",
"keradus/cli-executor": "^2.0",
"mikey179/vfsstream": "^1.6.10",
"php-coveralls/php-coveralls": "^2.5.2",
"php-cs-fixer/accessible-object": "^1.1",
@ -451,8 +451,8 @@
],
"description": "A tool to automatically fix PHP code style",
"support": {
"issues": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues",
"source": "https://github.com/FriendsOfPHP/PHP-CS-Fixer/tree/v3.12.0"
"issues": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues",
"source": "https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/tree/v3.13.0"
},
"funding": [
{
@ -460,7 +460,7 @@
"type": "github"
}
],
"time": "2022-10-12T14:20:51+00:00"
"time": "2022-10-31T19:28:50+00:00"
},
{
"name": "psr/cache",

View File

@ -198,7 +198,7 @@ class PiggyBank extends Model
protected function targetamount(): Attribute
{
return Attribute::make(
get: fn($value) => (string) $value,
get: fn ($value) => (string) $value,
);
}
}

View File

@ -584,11 +584,11 @@ class Navigation
default:
break;
case 'last7':
$date->subDays(7);
return $date;
$date->subDays(7);
return $date;
case 'last30':
$date->subDays(30);
return $date;
$date->subDays(30);
return $date;
case 'last90':
$date->subDays(90);
return $date;
@ -714,11 +714,11 @@ class Navigation
default:
break;
case 'last7':
$start->subDays(7);
return $start;
$start->subDays(7);
return $start;
case 'last30':
$start->subDays(30);
return $start;
$start->subDays(30);
return $start;
case 'last90':
$start->subDays(90);
return $start;