Skip to content
Snippets Groups Projects
Commit a93ac775 authored by Steinwender, Tamara's avatar Steinwender, Tamara
Browse files

Make linter happy

parent a6a96983
No related branches found
No related tags found
No related merge requests found
Pipeline #197105 failed
...@@ -4,7 +4,6 @@ declare(strict_types=1); ...@@ -4,7 +4,6 @@ declare(strict_types=1);
namespace Dbp\Relay\BlobConnectorLocalBundle\Entity; namespace Dbp\Relay\BlobConnectorLocalBundle\Entity;
use Dbp\Relay\BlobBundle\Entity\FileData;
use Doctrine\ORM\Mapping as ORM; use Doctrine\ORM\Mapping as ORM;
/** /**
...@@ -54,49 +53,31 @@ class ShareLinkPersistence ...@@ -54,49 +53,31 @@ class ShareLinkPersistence
$this->identifier = $identifier; $this->identifier = $identifier;
} }
/**
* @return \DateTime
*/
public function getValidUntil(): \DateTime public function getValidUntil(): \DateTime
{ {
return $this->validUntil; return $this->validUntil;
} }
/**
* @param \DateTime $validUntil
*/
public function setValidUntil(\DateTime $validUntil): void public function setValidUntil(\DateTime $validUntil): void
{ {
$this->validUntil = $validUntil; $this->validUntil = $validUntil;
} }
/**
* @return string
*/
public function getLink(): string public function getLink(): string
{ {
return $this->link; return $this->link;
} }
/**
* @param string $link
*/
public function setLink(string $link): void public function setLink(string $link): void
{ {
$this->link = $link; $this->link = $link;
} }
/**
* @return string
*/
public function getFileDataIdentifier(): string public function getFileDataIdentifier(): string
{ {
return $this->fileDataIdentifier; return $this->fileDataIdentifier;
} }
/**
* @param string $fileDataIdentifier
*/
public function setFileDataIdentifier(string $fileDataIdentifier): void public function setFileDataIdentifier(string $fileDataIdentifier): void
{ {
$this->fileDataIdentifier = $fileDataIdentifier; $this->fileDataIdentifier = $fileDataIdentifier;
......
...@@ -4,7 +4,6 @@ declare(strict_types=1); ...@@ -4,7 +4,6 @@ declare(strict_types=1);
namespace Dbp\Relay\BlobConnectorLocalBundle\Service; namespace Dbp\Relay\BlobConnectorLocalBundle\Service;
use Dbp\Relay\BlobBundle\Entity\Bucket;
use Symfony\Component\HttpFoundation\UrlHelper; use Symfony\Component\HttpFoundation\UrlHelper;
class ConfigurationService class ConfigurationService
......
...@@ -7,12 +7,11 @@ namespace Dbp\Relay\BlobConnectorLocalBundle\Service; ...@@ -7,12 +7,11 @@ namespace Dbp\Relay\BlobConnectorLocalBundle\Service;
use Dbp\Relay\BlobBundle\Entity\Bucket; use Dbp\Relay\BlobBundle\Entity\Bucket;
use Dbp\Relay\BlobBundle\Entity\FileData; use Dbp\Relay\BlobBundle\Entity\FileData;
use Dbp\Relay\BlobBundle\Helper\PoliciesStruct; use Dbp\Relay\BlobBundle\Helper\PoliciesStruct;
use Dbp\Relay\BlobBundle\Service\DatasystemProviderServiceInterface;
use Dbp\Relay\CoreBundle\Exception\ApiError; use Dbp\Relay\CoreBundle\Exception\ApiError;
use Doctrine\ORM\EntityManagerInterface; use Doctrine\ORM\EntityManagerInterface;
use Symfony\Component\EventDispatcher\EventDispatcherInterface; use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Symfony\Component\HttpFoundation\Response; use Symfony\Component\HttpFoundation\Response;
use Dbp\Relay\BlobBundle\Service\DatasystemProviderServiceInterface;
class LocalDataSystemService implements DatasystemProviderServiceInterface class LocalDataSystemService implements DatasystemProviderServiceInterface
{ {
......
...@@ -5,8 +5,8 @@ declare(strict_types=1); ...@@ -5,8 +5,8 @@ declare(strict_types=1);
namespace Dbp\Relay\BlobConnectorLocalBundle\Tests; namespace Dbp\Relay\BlobConnectorLocalBundle\Tests;
use ApiPlatform\Core\Bridge\Symfony\Bundle\ApiPlatformBundle; use ApiPlatform\Core\Bridge\Symfony\Bundle\ApiPlatformBundle;
use Dbp\Relay\CoreBundle\DbpRelayCoreBundle;
use Dbp\Relay\BlobConnectorLocalBundle\DbpRelayBlobConnectorLocalBundle; use Dbp\Relay\BlobConnectorLocalBundle\DbpRelayBlobConnectorLocalBundle;
use Dbp\Relay\CoreBundle\DbpRelayCoreBundle;
use Nelmio\CorsBundle\NelmioCorsBundle; use Nelmio\CorsBundle\NelmioCorsBundle;
use Symfony\Bundle\FrameworkBundle\FrameworkBundle; use Symfony\Bundle\FrameworkBundle\FrameworkBundle;
use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait; use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment