Skip to content

Commit

Permalink
Run php-cs-fixer
Browse files Browse the repository at this point in the history
  • Loading branch information
emmachughes committed Oct 13, 2023
1 parent 757e059 commit f5fc878
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
use App\Traits\ReturnToCore;
use Illuminate\Http\Request;
use Illuminate\Http\Response;
use Illuminate\Support\Facades\Session;

class GameController extends Controller
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -677,7 +677,7 @@ private function performUpdate(Request $request, H5PContent $h5pContent, $authId
$collaborators = collect($h5pContent->collaborators)
->pluck('email')
->add(Session::get('email'))
->reject(fn($v) => $v === 'noemail' || $v === null)
->reject(fn ($v) => $v === 'noemail' || $v === null)
->unique()
->implode(',');

Expand Down

0 comments on commit f5fc878

Please sign in to comment.