Skip to content

Commit 212cb5a

Browse files
lam0819github-actions[bot]
authored andcommitted
Fix styling
1 parent 17c68ba commit 212cb5a

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

src/VisualEditor/Blocks/Contracts/BlockInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,12 @@ public function getPreviewImage(): ?string;
7171
/**
7272
* Render the block for the canvas/preview.
7373
*/
74-
public function render(array $props, array $children = [], array $styles = []): View|string;
74+
public function render(array $props, array $children = [], array $styles = []): View | string;
7575

7676
/**
7777
* Render the block for the frontend.
7878
*/
79-
public function renderFrontend(array $props, array $children = [], array $styles = []): View|string;
79+
public function renderFrontend(array $props, array $children = [], array $styles = []): View | string;
8080

8181
/**
8282
* Validate the block's properties.

src/VisualEditor/Blocks/Registry/BlockRegistry.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ public static function all(): Collection
8282
*
8383
* @return Collection<string, BlockInterface>
8484
*/
85-
public static function byCategory(BlockCategory|string $category): Collection
85+
public static function byCategory(BlockCategory | string $category): Collection
8686
{
8787
$categoryValue = $category instanceof BlockCategory ? $category->value : $category;
8888

src/VisualEditor/Blocks/Types/AbstractBlock.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ public function getStyleSchema(): array
294294
return $this->getBaseStyleSchema();
295295
}
296296

297-
public function render(array $props, array $children = [], array $styles = []): View|string
297+
public function render(array $props, array $children = [], array $styles = []): View | string
298298
{
299299
$viewName = $this->getViewName();
300300

@@ -311,7 +311,7 @@ public function render(array $props, array $children = [], array $styles = []):
311311
return $this->renderDefault($props, $children, $styles, true);
312312
}
313313

314-
public function renderFrontend(array $props, array $children = [], array $styles = []): View|string
314+
public function renderFrontend(array $props, array $children = [], array $styles = []): View | string
315315
{
316316
$viewName = $this->getFrontendViewName();
317317

src/VisualEditor/Livewire/BlockPanel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function savedTemplates(): array
5454
return BlockTemplate::query()
5555
->where(function ($query) {
5656
$query->where('is_public', true)
57-
->orWhere('created_by', auth()->id());
57+
->orWhere('created_by', auth()->id());
5858
})
5959
->when($this->search, function ($query) {
6060
$query->where('name', 'like', "%{$this->search}%");

0 commit comments

Comments
 (0)