Browse Source

code style

MNPALS-2.x
Jared Whiklo 2 years ago committed by Rosie Le Faive
parent
commit
860abf3c06
  1. 1
      src/Flysystem/Adapter/FedoraAdapter.php
  2. 4
      src/Flysystem/Fedora.php

1
src/Flysystem/Adapter/FedoraAdapter.php

@ -49,6 +49,7 @@ class FedoraAdapter implements AdapterInterface {
* @param \Symfony\Component\Mime\MimeTypeGuesserInterface $mime_type_guesser * @param \Symfony\Component\Mime\MimeTypeGuesserInterface $mime_type_guesser
* Mimetype guesser. * Mimetype guesser.
* @param \Drupal\Core\Logger\LoggerChannelInterface $logger * @param \Drupal\Core\Logger\LoggerChannelInterface $logger
* The fedora adapter logger channel.
*/ */
public function __construct( public function __construct(
IFedoraApi $fedora, IFedoraApi $fedora,

4
src/Flysystem/Fedora.php

@ -13,9 +13,8 @@ use Drupal\islandora\Flysystem\Adapter\FedoraAdapter;
use Drupal\jwt\Authentication\Provider\JwtAuth; use Drupal\jwt\Authentication\Provider\JwtAuth;
use GuzzleHttp\Exception\ConnectException; use GuzzleHttp\Exception\ConnectException;
use GuzzleHttp\HandlerStack; use GuzzleHttp\HandlerStack;
use GuzzleHttp\Client;
use Islandora\Chullo\IFedoraApi;
use Islandora\Chullo\FedoraApi; use Islandora\Chullo\FedoraApi;
use Islandora\Chullo\IFedoraApi;
use Psr\Http\Message\RequestInterface; use Psr\Http\Message\RequestInterface;
use Symfony\Component\DependencyInjection\ContainerInterface; use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\Mime\MimeTypeGuesserInterface; use Symfony\Component\Mime\MimeTypeGuesserInterface;
@ -67,6 +66,7 @@ class Fedora implements FlysystemPluginInterface, ContainerFactoryPluginInterfac
* @param \Drupal\Core\Language\LanguageManagerInterface $language_manager * @param \Drupal\Core\Language\LanguageManagerInterface $language_manager
* Language manager. * Language manager.
* @param \Drupal\Core\Logger\LoggerChannelInterface $logger * @param \Drupal\Core\Logger\LoggerChannelInterface $logger
* The fedora adapter logger channel.
*/ */
public function __construct( public function __construct(
IFedoraApi $fedora, IFedoraApi $fedora,

Loading…
Cancel
Save