diff -u b/src/Commands/PanolensCommands.php b/src/Commands/PanolensCommands.php --- b/src/Commands/PanolensCommands.php +++ b/src/Commands/PanolensCommands.php @@ -26,22 +26,19 @@ * @param \Drupal\Core\File\FileSystemInterface $file_system * The file system. */ - public function __construct(FileSystemInterface $file_system) - { - $this->fileSystem = $file_system; + public function __construct(FileSystemInterface $file_system) { + $this->fileSystem = $file_system; } /** * {@inheritdoc} */ - public static function create(ContainerInterface $container) - { + public static function create(ContainerInterface $container) { return new static( $container->get('file_system') ); } - const LIBRARY_PANOLENS_VERSION = '0.11.0'; const LIBRARY_THREE_JS_VERSION = 'r105'; diff -u b/src/Plugin/Field/FieldFormatter/ImagePanoramaFormatter.php b/src/Plugin/Field/FieldFormatter/ImagePanoramaFormatter.php --- b/src/Plugin/Field/FieldFormatter/ImagePanoramaFormatter.php +++ b/src/Plugin/Field/FieldFormatter/ImagePanoramaFormatter.php @@ -34,20 +34,19 @@ * @param \Drupal\Core\File\FileUrlGeneratorInterface $file_url_generator * The file URL generator. */ - public function __construct(FileUrlGeneratorInterface $file_url_generator) - { + public function __construct(FileUrlGeneratorInterface $file_url_generator) { $this->fileUrlGenerator = $file_url_generator } /** * {@inheritdoc} */ - public static function create(ContainerInterface $container) - { + public static function create(ContainerInterface $container) { return new static( $container->get('file_url_generator') ); } + /** * {@inheritdoc} */