Skip to content

Commit

Permalink
cleaning weak warning
Browse files Browse the repository at this point in the history
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
  • Loading branch information
ArtificialOwl committed Jul 29, 2020
1 parent c262e39 commit 1685e28
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions lib/private/Webfinger/Event/WebfingerEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ public function __construct(IWebfinger $webfinger) {
/**
* @return IWebfinger
* @since 20.0.0
* @noinspection PhpUnused
*/
public function getWebfinger(): IWebfinger {
return $this->webfinger;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
class WebfingerRequestException extends Exception {

/** @var int */
private $errorCode = 404;
private $errorCode;


/**
Expand Down
2 changes: 1 addition & 1 deletion lib/private/Webfinger/Model/Webfinger.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php
<?php /** @noinspection PhpUnused */

declare(strict_types=1);

Expand Down
1 change: 1 addition & 0 deletions lib/private/Webfinger/WebfingerManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ public function __construct(IEventDispatcher $eventDispatcher) {
*
* @throws WebfingerRequestException
* @since 20.0.0
* @noinspection PhpUnused
*/
public function manageRequest(IRequest $request): void {
$resource = $request->getParam('resource', '');
Expand Down

0 comments on commit 1685e28

Please sign in to comment.