Skip to content

Commit b824866

Browse files
binarykgithub-actions[bot]
authored andcommitted
Fix styling
1 parent 1b2da0a commit b824866

25 files changed

+52
-52
lines changed

src/Actions/Action.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
abstract class Action implements JsonSerializable
3030
{
3131
use AuthorizedToSee;
32-
use ProxiesCanSeeToGate;
3332
use Make;
33+
use ProxiesCanSeeToGate;
3434
use Visibility;
3535

3636
/**

src/Commands/ActionCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function handle()
3434
*/
3535
protected function buildClass($name)
3636
{
37-
if (false === Str::endsWith($name, 'Action')) {
37+
if (Str::endsWith($name, 'Action') === false) {
3838
$name .= 'Action';
3939
}
4040

@@ -48,7 +48,7 @@ protected function getStub()
4848

4949
protected function getPath($name)
5050
{
51-
if (false === Str::endsWith($name, 'Action')) {
51+
if (Str::endsWith($name, 'Action') === false) {
5252
$name .= 'Action';
5353
}
5454

src/Commands/FilterCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public function handle()
2626

2727
protected function buildClass($name)
2828
{
29-
if (false === Str::endsWith($name, 'Filter')) {
29+
if (Str::endsWith($name, 'Filter') === false) {
3030
$name .= 'Filter';
3131
}
3232

@@ -107,7 +107,7 @@ protected function getStub()
107107

108108
protected function getPath($name)
109109
{
110-
if (false === Str::endsWith($name, 'Filter')) {
110+
if (Str::endsWith($name, 'Filter') === false) {
111111
$name .= 'Filter';
112112
}
113113

src/Commands/GetterCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function handle()
3434
*/
3535
protected function buildClass($name)
3636
{
37-
if (false === Str::endsWith($name, 'Getter')) {
37+
if (Str::endsWith($name, 'Getter') === false) {
3838
$name .= 'Getter';
3939
}
4040

@@ -48,7 +48,7 @@ protected function getStub()
4848

4949
protected function getPath($name)
5050
{
51-
if (false === Str::endsWith($name, 'Getter')) {
51+
if (Str::endsWith($name, 'Getter') === false) {
5252
$name .= 'Getter';
5353
}
5454

src/Commands/PolicyCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ protected function guessPolicyName()
5656
{
5757
$name = $this->getNameInput();
5858

59-
if (false === Str::endsWith($name, 'Policy')) {
59+
if (Str::endsWith($name, 'Policy') === false) {
6060
$name .= 'Policy';
6161
}
6262

src/Commands/RepositoryCommand.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function handle()
6262
*/
6363
protected function buildClass($name)
6464
{
65-
if (false === Str::endsWith($name, 'Repository')) {
65+
if (Str::endsWith($name, 'Repository') === false) {
6666
$name .= 'Repository';
6767
}
6868

@@ -94,7 +94,7 @@ protected function buildMigration()
9494

9595
$guessMigration = 'Create'.Str::studly($table).'Table';
9696

97-
if (false === class_exists($guessMigration)) {
97+
if (class_exists($guessMigration) === false) {
9898
$migration = Str::snake($guessMigration);
9999
$yes = $this->confirm("Do you want to generate the migration [{$migration}]?");
100100

@@ -120,7 +120,7 @@ protected function buildModel()
120120
{
121121
$model = $this->guessQualifiedModelName();
122122

123-
if (false === class_exists($model)) {
123+
if (class_exists($model) === false) {
124124
$yes = $this->confirm("Do you want to generate the model [{$model}]?");
125125

126126
if ($yes) {
@@ -146,7 +146,7 @@ protected function getStub()
146146

147147
protected function getPath($name)
148148
{
149-
if (false === Str::endsWith($name, 'Repository')) {
149+
if (Str::endsWith($name, 'Repository') === false) {
150150
$name .= 'Repository';
151151
}
152152

src/Commands/StoreCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public function handle()
3434
*/
3535
protected function buildClass($name)
3636
{
37-
if (false === Str::endsWith($name, 'Store')) {
37+
if (Str::endsWith($name, 'Store') === false) {
3838
$name .= 'Store';
3939
}
4040

@@ -52,7 +52,7 @@ protected function getStub()
5252

5353
protected function getPath($name)
5454
{
55-
if (false === Str::endsWith($name, 'Store')) {
55+
if (Str::endsWith($name, 'Store') === false) {
5656
$name .= 'Store';
5757
}
5858

src/Eager/Related.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818

1919
class Related implements JsonSerializable
2020
{
21-
use Make;
2221
use HasColumns;
22+
use Make;
2323

2424
private string $relation;
2525

src/Fields/Field.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616

1717
class Field extends OrganicField implements JsonSerializable
1818
{
19-
use Make;
2019
use HasAction;
20+
use Make;
2121

2222
/**
2323
* The resource associated with the field.

src/Fields/File.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
use Illuminate\Http\Request;
1515
use Illuminate\Support\Facades\Storage;
1616

17-
class File extends Field implements StorableContract, DeletableContract
17+
class File extends Field implements DeletableContract, StorableContract
1818
{
19-
use FileStorable;
2019
use AcceptsTypes;
2120
use Deletable;
21+
use FileStorable;
2222

2323
/**
2424
* The callback that should be used to determine the file's storage name.

0 commit comments

Comments
 (0)