Skip to content

Commit e136758

Browse files
binarykgithub-actions[bot]
authored andcommitted
Fix styling
1 parent 0e03a98 commit e136758

File tree

6 files changed

+19
-19
lines changed

6 files changed

+19
-19
lines changed

src/Actions/Action.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -171,9 +171,9 @@ public function handleRequest(ActionRequest $request)
171171
$response = $this->handle($request, $models);
172172

173173
$models->each(function (Model $model) {
174-
// if (in_array(HasActionLogs::class, class_uses_recursive($model), true)) {
175-
// Restify::actionLog()::forRepositoryAction($this, $model, $request->user())->save();
176-
// }
174+
// if (in_array(HasActionLogs::class, class_uses_recursive($model), true)) {
175+
// Restify::actionLog()::forRepositoryAction($this, $model, $request->user())->save();
176+
// }
177177
});
178178
});
179179
});

src/Eager/RelatedCollection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ public function unserialized(RestifyRequest $request, Repository $repository)
184184
public function markQuerySerialized(RestifyRequest $request, Repository $repository): self
185185
{
186186
return $this->each(function (Related $related) {
187-
// dd($related->getValue());
187+
// dd($related->getValue());
188188
$related->relatedQuery?->serialized();
189189

190190
return $related;

src/Fields/File.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,15 +235,15 @@ public function fillAttribute(RestifyRequest $request, $model, int $bulkRow = nu
235235

236236
if ($this->isPrunable()) {
237237
// Delete old file if exists.
238-
// return function () use ($model, $request) {
238+
// return function () use ($model, $request) {
239239
call_user_func(
240240
$this->deleteCallback,
241241
$request,
242242
$model,
243243
$this->getStorageDisk(),
244244
$this->getStoragePath()
245245
);
246-
// };
246+
// };
247247
}
248248

249249
$result = call_user_func(

src/Http/Controllers/PerformRepositoryActionController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class PerformRepositoryActionController extends RepositoryController
88
{
99
public function __invoke(RepositoryActionRequest $request)
1010
{
11-
// $_SERVER['restify.requestClass'] = RepositoryActionRequest::class;
11+
// $_SERVER['restify.requestClass'] = RepositoryActionRequest::class;
1212

1313
$action = $request->action();
1414

src/Traits/HasNested.php

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@ trait HasNested
88
{
99
public ?RelatedQueryCollection $nested = null;
1010

11-
// public function nested(?RelatedQueryCollection $nested = null): self
12-
// {
13-
// $this->nested = $nested;
14-
//
15-
// return $this;
16-
// }
11+
// public function nested(?RelatedQueryCollection $nested = null): self
12+
// {
13+
// $this->nested = $nested;
14+
//
15+
// return $this;
16+
// }
1717

18-
// public function getNested(): RelatedQueryCollection
19-
// {
20-
// return $this->nested ?? RelatedQueryCollection::make([]);
21-
// }
22-
//
18+
// public function getNested(): RelatedQueryCollection
19+
// {
20+
// return $this->nested ?? RelatedQueryCollection::make([]);
21+
// }
22+
//
2323
public function hasNested(): bool
2424
{
2525
return ! empty($this->nested);

tests/Fields/HasOneFieldTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class HasOneFieldTest extends IntegrationTestCase
2222
protected function setUp(): void
2323
{
2424
parent::setUp();
25-
// $this->authenticate();
25+
// $this->authenticate();
2626

2727
unset($_SERVER['restify.post.show']);
2828

0 commit comments

Comments
 (0)