Skip to content

Commit

Permalink
Merge branch '3.x' into feat-config
Browse files Browse the repository at this point in the history
  • Loading branch information
francoism90 authored Aug 6, 2024
2 parents 0a1a3c9 + 6470ab7 commit 996abf0
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

All notable changes to `wireuse` will be documented in this file.

## v2.2.1 - 2024-07-30

**Full Changelog**: https://github.com/foxws/wireuse/compare/v2.2.0...v2.2.1

## v2.2.0 - 2024-07-29

### What's Changed
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,19 @@
"format": "npx prettier . --write"
},
"devDependencies": {
"@eslint/js": "^9.7.0",
"@eslint/js": "^9.8.0",
"@tailwindcss/forms": "^0.5.7",
"@tailwindcss/typography": "^0.5.13",
"autoprefixer": "^10.4.19",
"eslint": "^9.7.0",
"eslint": "^9.8.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-tailwindcss": "^3.17.4",
"globals": "^15.8.0",
"postcss": "^8.4.39",
"postcss": "^8.4.40",
"postcss-import": "^16.1.0",
"prettier": "^3.3.3",
"prettier-plugin-tailwindcss": "^0.6.5",
"tailwindcss": "^3.4.6",
"tailwindcss": "^3.4.7",
"vitest": "^2.0.4"
}
}
6 changes: 4 additions & 2 deletions src/Scout/Scout.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ public function __construct(
) {}

public static function create(
string $path,
string $namespace = 'App\\',
?string $path = null,
?string $namespace = 'App\\',
?string $prefix = null,
): static {
return new static(
Expand All @@ -38,6 +38,8 @@ public function get(): Collection

public function clear(): void
{
$this->getComponentStructures()->clear();

Check failure on line 41 in src/Scout/Scout.php

View workflow job for this annotation

GitHub Actions / phpstan

Call to an undefined method Foxws\WireUse\Support\Discover\ComponentStructureScout::clear().

Cache::store($this->getCacheStore())->forget($this->getCacheKey());
}

Expand Down

0 comments on commit 996abf0

Please sign in to comment.