Skip to content

Commit

Permalink
fix: update PHPStan baseline
Browse files Browse the repository at this point in the history
Signed-off-by: Sam Poyigi <[email protected]>
  • Loading branch information
sampoyigi committed Jan 3, 2025
1 parent dfd837d commit ba2b20e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 18 deletions.
15 changes: 5 additions & 10 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ parameters:
count: 1
path: database/migrations/2020_09_17_000300_create_reviews_table_or_rename.php

-
message: "#^Result of static method Igniter\\\\Local\\\\Facades\\\\Location\\:\\:orderType\\(\\) \\(void\\) is used\\.$#"
count: 1
path: src/CartConditions/Delivery.php

-
message: "#^Result of static method Igniter\\\\Local\\\\Facades\\\\Location\\:\\:checkDistance\\(\\) \\(void\\) is used\\.$#"
count: 1
Expand Down Expand Up @@ -166,18 +161,18 @@ parameters:
path: src/Classes/WorkingTimeslot.php

-
message: "#^Call to an undefined static method Igniter\\\\Local\\\\Models\\\\LocationArea\\:\\:find\\(\\)\\.$#"
count: 1
message: "#^Access to an undefined property Illuminate\\\\Contracts\\\\Auth\\\\Authenticatable\\:\\:\\$last_location_area\\.$#"
count: 2
path: src/Extension.php

-
message: "#^Cannot access property \\$last_location_area on null\\.$#"
message: "#^Call to an undefined method Illuminate\\\\Contracts\\\\Auth\\\\Authenticatable\\:\\:updateQuietly\\(\\)\\.$#"
count: 1
path: src/Extension.php

-
message: "#^Result of static method Igniter\\\\User\\\\Facades\\\\Auth\\:\\:customer\\(\\) \\(void\\) is used\\.$#"
count: 2
message: "#^Call to an undefined static method Igniter\\\\Local\\\\Models\\\\LocationArea\\:\\:find\\(\\)\\.$#"
count: 1
path: src/Extension.php

-
Expand Down
16 changes: 8 additions & 8 deletions src/Facades/Location.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,18 +22,18 @@
* @method static \Igniter\Local\Contracts\LocationInterface|null getBySlug(string $slug)
* @method static void clearInternalCache()
* @method static void updateOrderType(void $code = null)
* @method static void orderType()
* @method static string orderType()
* @method static void checkOrderType(void $code = null)
* @method static \Igniter\Cart\Classes\AbstractOrderType getOrderType(void $code = null)
* @method static void getOrderTypes()
* @method static void orderTypeIsDelivery()
* @method static void orderTypeIsCollection()
* @method static void hasOrderType(void $code = null)
* @method static \Illuminate\Support\Collection getOrderTypes()
* @method static bool orderTypeIsDelivery()
* @method static bool orderTypeIsCollection()
* @method static bool hasOrderType(void $code = null)
* @method static void getActiveOrderTypes()
* @method static void updateScheduleTimeSlot(void $dateTime, void $isAsap = null)
* @method static void openingSchedule()
* @method static void deliverySchedule()
* @method static void collectionSchedule()
* @method static \Igniter\Local\Classes\WorkingSchedule openingSchedule()
* @method static \Igniter\Local\Classes\WorkingSchedule deliverySchedule()
* @method static \Igniter\Local\Classes\WorkingSchedule collectionSchedule()
* @method static void openTime(void $type = null, void $format = null)
* @method static void closeTime(void $type = null, void $format = null)
* @method static void lastOrderTime()
Expand Down

0 comments on commit ba2b20e

Please sign in to comment.