Skip to content
This repository was archived by the owner on Mar 18, 2025. It is now read-only.

Commit 6e1a418

Browse files
committed
Suppress psalm issues
1 parent 6bf3fda commit 6e1a418

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/Components/Inputs/DatePicker.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ public function jsonOptions(): string
8282

8383
private function resolveIcons(): void
8484
{
85+
/** @psalm-suppress RedundantCondition */
8586
$this->toggleIcon = is_null($this->toggleIcon) && $this->toggleIcon !== false
8687
? config('form-components.components.date-picker.icon')
8788
: $this->toggleIcon;

src/FormComponentsServiceProvider.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,9 @@ private function bootDirectives(): void
9898
});
9999
}
100100

101+
/**
102+
* @psalm-suppress UndefinedMethod
103+
*/
101104
private function bootMacros(): void
102105
{
103106
ComponentAttributeBag::macro('hasStartsWith', function ($key) {

0 commit comments

Comments
 (0)