Browse Source

Fix up code style issues (Islandora#2272)

pull/997/head
Ant Brown 1 year ago
parent
commit
380207dcc9
  1. 11
      src/IslandoraUtils.php

11
src/IslandoraUtils.php

@ -80,7 +80,8 @@ class IslandoraUtils {
*/ */
protected $cache; protected $cache;
/** Current user. /**
* Current user.
* *
* @var \Drupal\Core\Session\AccountProxyInterface * @var \Drupal\Core\Session\AccountProxyInterface
*/ */
@ -99,9 +100,9 @@ class IslandoraUtils {
* Flysystem factory. * Flysystem factory.
* @param \Drupal\Core\Language\LanguageManagerInterface $language_manager * @param \Drupal\Core\Language\LanguageManagerInterface $language_manager
* Language manager. * Language manager.
* @param \Drupal\Core\Cache\CacheBackendInterface * @param \Drupal\Core\Cache\CacheBackendInterface $cache
* Cache backend. * Cache backend.
* @param \Drupal\Core\Session\AccountProxyInterface * @param \Drupal\Core\Session\AccountProxyInterface $current_user
* Current user account. * Current user account.
*/ */
public function __construct( public function __construct(
@ -111,7 +112,7 @@ class IslandoraUtils {
FlysystemFactory $flysystem_factory, FlysystemFactory $flysystem_factory,
LanguageManagerInterface $language_manager, LanguageManagerInterface $language_manager,
CacheBackendInterface $cache, CacheBackendInterface $cache,
AccountProxyInterface $currentUser AccountProxyInterface $current_user
) { ) {
$this->entityTypeManager = $entity_type_manager; $this->entityTypeManager = $entity_type_manager;
$this->entityFieldManager = $entity_field_manager; $this->entityFieldManager = $entity_field_manager;
@ -119,7 +120,7 @@ class IslandoraUtils {
$this->flysystemFactory = $flysystem_factory; $this->flysystemFactory = $flysystem_factory;
$this->languageManager = $language_manager; $this->languageManager = $language_manager;
$this->cache = $cache; $this->cache = $cache;
$this->currentUser = $currentUser; $this->currentUser = $current_user;
} }
/** /**

Loading…
Cancel
Save