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 OrangePillObserver
|
||||
* @param \App\Models\OrangePill $orangePill
|
||||
* @return void
|
||||
*/
|
||||
public function created(OrangePill $orangePill)
|
||||
public function created(OrangePill $orangePill): void
|
||||
{
|
||||
// if (config('feeds.services.twitterAccountId')) {
|
||||
// $this->setNewAccessToken(1);
|
||||
@@ -36,7 +36,7 @@ class OrangePillObserver
|
||||
* @param \App\Models\OrangePill $orangePill
|
||||
* @return void
|
||||
*/
|
||||
public function updated(OrangePill $orangePill)
|
||||
public function updated(OrangePill $orangePill): void
|
||||
{
|
||||
//
|
||||
}
|
||||
@@ -47,7 +47,7 @@ class OrangePillObserver
|
||||
* @param \App\Models\OrangePill $orangePill
|
||||
* @return void
|
||||
*/
|
||||
public function deleted(OrangePill $orangePill)
|
||||
public function deleted(OrangePill $orangePill): void
|
||||
{
|
||||
//
|
||||
}
|
||||
@@ -58,7 +58,7 @@ class OrangePillObserver
|
||||
* @param \App\Models\OrangePill $orangePill
|
||||
* @return void
|
||||
*/
|
||||
public function restored(OrangePill $orangePill)
|
||||
public function restored(OrangePill $orangePill): void
|
||||
{
|
||||
//
|
||||
}
|
||||
@@ -69,7 +69,7 @@ class OrangePillObserver
|
||||
* @param \App\Models\OrangePill $orangePill
|
||||
* @return void
|
||||
*/
|
||||
public function forceDeleted(OrangePill $orangePill)
|
||||
public function forceDeleted(OrangePill $orangePill): void
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user