Skip to content

Commit

Permalink
fix: larastan on Centre.php and CentreUser.php
Browse files Browse the repository at this point in the history
  • Loading branch information
lauragurney committed Mar 1, 2024
1 parent 917dfde commit 82cf401
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/Centre.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ public function registrations()
/**
* Get the CentreUsers who belong to this Centre
*
* @return \Illuminate\Database\Eloquent\Relations\belongsToMany
* @return \Illuminate\Database\Eloquent\Relations\BelongsToMany
*/
public function centreUsers()
{
Expand Down
6 changes: 3 additions & 3 deletions app/CentreUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace App;

use Eloquent;
use Illuminate\Database\Eloquent\Relations\belongsToMany;
use Illuminate\Database\Eloquent\Relations\BelongsToMany;
use Illuminate\Database\Eloquent\Relations\HasMany;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Notifications\Notifiable;
Expand Down Expand Up @@ -107,7 +107,7 @@ public function getCentreAttribute()
/**
* Get the centres assigned to a user
*
* @return belongsToMany
* @return BelongsToMany
*/
public function centres()
{
Expand All @@ -128,7 +128,7 @@ public function getHomeCentreAttribute()
* Get the home centres for this user
* Alas, we lack a belongsToThrough method to this is a collections.
*
* @return belongsToMany
* @return BelongsToMany
*/
protected function homeCentres()
{
Expand Down

0 comments on commit 82cf401

Please sign in to comment.