mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-12 11:16:43 +02:00
refactor: add strict types declaration before each file and fix activitypub issues
fix some style issues
This commit is contained in:
parent
76afc0cfa2
commit
c72f4be6d8
291 changed files with 8727 additions and 7357 deletions
|
|
@ -1,5 +1,7 @@
|
|||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
/**
|
||||
* @copyright 2021 Podlibre
|
||||
* @license https://www.gnu.org/licenses/agpl-3.0.en.html AGPL3
|
||||
|
|
@ -13,7 +15,10 @@ use App\Entities\Note;
|
|||
|
||||
class NoteObject extends ActivityPubNoteObject
|
||||
{
|
||||
public function __construct(Note $note)
|
||||
/**
|
||||
* @param Note $note
|
||||
*/
|
||||
public function __construct($note)
|
||||
{
|
||||
parent::__construct($note);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue