Fix files with Laravel Pint

This commit is contained in:
Jonny Barnes 2022-07-09 10:08:26 +01:00
parent c714457604
commit e36f15d391
Signed by: jonny
SSH key fingerprint: SHA256:CTuSlns5U7qlD9jqHvtnVmfYV3Zwl2Z7WnJ4/dqOaL8
116 changed files with 409 additions and 378 deletions

View file

@ -4,15 +4,17 @@ declare(strict_types=1);
namespace App\Observers;
use App\Models\{Note, Tag};
use Illuminate\Support\{Arr, Collection};
use App\Models\Note;
use App\Models\Tag;
use Illuminate\Support\Arr;
use Illuminate\Support\Collection;
class NoteObserver
{
/**
* Listen to the Note created event.
*
* @param Note $note
* @param Note $note
*/
public function created(Note $note)
{
@ -36,7 +38,7 @@ class NoteObserver
/**
* Listen to the Note updated event.
*
* @param Note $note
* @param Note $note
*/
public function updated(Note $note)
{
@ -62,7 +64,7 @@ class NoteObserver
/**
* Listen to the Note deleting event.
*
* @param Note $note
* @param Note $note
*/
public function deleting(Note $note)
{
@ -72,7 +74,7 @@ class NoteObserver
/**
* Retrieve the tags from a notes text, tag for form #tag.
*
* @param string $note
* @param string $note
* @return Collection
*/
private function getTagsFromNote(string $note): Collection