mirror of
https://github.com/Einundzwanzig-Podcast/einundzwanzig-portal.git
synced 2025-12-11 06:46:47 +00:00
Add PHP type hints for Laravel 10
This commit is contained in:
committed by
HolgerHatGarKeineNode
parent
ad55c69b51
commit
98a430c91c
@@ -15,7 +15,7 @@ class LibraryItemObserver
|
||||
* @param \App\Models\LibraryItem $libraryItem
|
||||
* @return void
|
||||
*/
|
||||
public function created(LibraryItem $libraryItem)
|
||||
public function created(LibraryItem $libraryItem): void
|
||||
{
|
||||
// todo: we can change this later
|
||||
try {
|
||||
@@ -58,7 +58,7 @@ class LibraryItemObserver
|
||||
* @param \App\Models\LibraryItem $libraryItem
|
||||
* @return void
|
||||
*/
|
||||
public function updated(LibraryItem $libraryItem)
|
||||
public function updated(LibraryItem $libraryItem): void
|
||||
{
|
||||
//
|
||||
}
|
||||
@@ -69,7 +69,7 @@ class LibraryItemObserver
|
||||
* @param \App\Models\LibraryItem $libraryItem
|
||||
* @return void
|
||||
*/
|
||||
public function deleted(LibraryItem $libraryItem)
|
||||
public function deleted(LibraryItem $libraryItem): void
|
||||
{
|
||||
//
|
||||
}
|
||||
@@ -80,7 +80,7 @@ class LibraryItemObserver
|
||||
* @param \App\Models\LibraryItem $libraryItem
|
||||
* @return void
|
||||
*/
|
||||
public function restored(LibraryItem $libraryItem)
|
||||
public function restored(LibraryItem $libraryItem): void
|
||||
{
|
||||
//
|
||||
}
|
||||
@@ -91,7 +91,7 @@ class LibraryItemObserver
|
||||
* @param \App\Models\LibraryItem $libraryItem
|
||||
* @return void
|
||||
*/
|
||||
public function forceDeleted(LibraryItem $libraryItem)
|
||||
public function forceDeleted(LibraryItem $libraryItem): void
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user