refactor: Refactor file headers and add Psalm suppressions
- Added Psalm suppression annotations to multiple controller classes - Added PHPDoc comment blocks to seeders and factories - Added comments to indicate unused classes and methods - Removed unused annotations and imports
This commit is contained in:
parent
cd9fed3a68
commit
39a197ae7b
61 changed files with 214 additions and 74 deletions
|
@ -9,10 +9,15 @@ use App\Models\Tag;
|
|||
use Illuminate\Support\Arr;
|
||||
use Illuminate\Support\Collection;
|
||||
|
||||
/**
|
||||
* @todo Do we need psalm-suppress for these observer methods?
|
||||
*/
|
||||
class NoteObserver
|
||||
{
|
||||
/**
|
||||
* Listen to the Note created event.
|
||||
*
|
||||
* @psalm-suppress PossiblyUnusedMethod
|
||||
*/
|
||||
public function created(Note $note): void
|
||||
{
|
||||
|
@ -35,6 +40,8 @@ class NoteObserver
|
|||
|
||||
/**
|
||||
* Listen to the Note updated event.
|
||||
*
|
||||
* @psalm-suppress PossiblyUnusedMethod
|
||||
*/
|
||||
public function updated(Note $note): void
|
||||
{
|
||||
|
@ -59,6 +66,8 @@ class NoteObserver
|
|||
|
||||
/**
|
||||
* Listen to the Note deleting event.
|
||||
*
|
||||
* @psalm-suppress PossiblyUnusedMethod
|
||||
*/
|
||||
public function deleting(Note $note): void
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue