Skip to content

Commit

Permalink
CS fixes of docblocks
Browse files Browse the repository at this point in the history
  • Loading branch information
rpkamp committed May 5, 2017
1 parent f774704 commit 4bce009
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 26 deletions.
18 changes: 9 additions & 9 deletions Controller/ImagineController.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ class ImagineController
private $signer;

/**
* @param FilterService $filterService
* @param DataManager $dataManager
* @param FilterService $filterService
* @param DataManager $dataManager
* @param SignerInterface $signer
*/
public function __construct(FilterService $filterService, DataManager $dataManager, SignerInterface $signer)
Expand All @@ -58,9 +58,9 @@ public function __construct(FilterService $filterService, DataManager $dataManag
* The resulting image is cached so subsequent requests will redirect to the cached image instead applying the
* filter and storing the image again.
*
* @param \Symfony\Component\HttpFoundation\Request $request
* @param string $path
* @param string $filter
* @param Request $request
* @param string $path
* @param string $filter
*
* @throws \RuntimeException
* @throws \Symfony\Component\HttpKernel\Exception\NotFoundHttpException
Expand Down Expand Up @@ -96,10 +96,10 @@ public function filterAction(Request $request, $path, $filter)
* The resulting image is cached so subsequent requests will redirect to the cached image instead applying the
* filter and storing the image again.
*
* @param \Symfony\Component\HttpFoundation\Request $request
* @param string $hash
* @param string $path
* @param string $filter
* @param Request $request
* @param string $hash
* @param string $path
* @param string $filter
*
* @throws \RuntimeException
* @throws \Symfony\Component\HttpKernel\Exception\BadRequestHttpException
Expand Down
39 changes: 22 additions & 17 deletions Service/FilterService.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,9 @@ class FilterService
private $logger;

/**
* FilterService constructor.
* @param DataManager $dataManager
* @param FilterManager $filterManager
* @param CacheManager $cacheManager
* @param DataManager $dataManager
* @param FilterManager $filterManager
* @param CacheManager $cacheManager
* @param LoggerInterface $logger
*/
public function __construct(
Expand All @@ -60,9 +59,10 @@ public function __construct(
}

/**
* @param string $path
* @param string $filter
* @param string $resolver
* @param string $path
* @param string $filter
* @param string|null $resolver
*
* @throws \Liip\ImagineBundle\Exception\Binary\Loader\NotLoadableException
* @throws \Liip\ImagineBundle\Exception\Imagine\Filter\NonExistingFilterException
*/
Expand All @@ -86,10 +86,11 @@ public function createFilteredImage($path, $filter, $resolver = null)
}

/**
* @param string $path
* @param string $filter
* @param string $resolver
* @param array $runtimeFilters
* @param string $path
* @param string $filter
* @param array $runtimeFilters
* @param string|null $resolver
*
* @throws \Liip\ImagineBundle\Exception\Binary\Loader\NotLoadableException
* @throws \Liip\ImagineBundle\Exception\Imagine\Filter\NonExistingFilterException
*/
Expand Down Expand Up @@ -118,6 +119,7 @@ public function createFilteredImageWithRuntimeFilters($path, $filter, array $run
* @param string $path
* @param string $filter
* @param string $resolver
*
* @return string
*/
public function getUrlOfFilteredImage($path, $filter, $resolver = null)
Expand All @@ -126,10 +128,11 @@ public function getUrlOfFilteredImage($path, $filter, $resolver = null)
}

/**
* @param string $path
* @param string $filter
* @param string $resolver
* @param array $runtimeFilters
* @param string $path
* @param string $filter
* @param array $runtimeFilters
* @param string|null $resolver
*
* @return string
*/
public function getUrlOfFilteredImageWithRuntimeFilters($path, $filter, array $runtimeFilters = array(), $resolver = null)
Expand All @@ -141,9 +144,11 @@ public function getUrlOfFilteredImageWithRuntimeFilters($path, $filter, array $r
/**
* @param string $path
* @param string $filter
* @param array|null $runtimeFilters
* @return \Liip\ImagineBundle\Binary\BinaryInterface
* @param array $runtimeFilters
*
* @throws \Liip\ImagineBundle\Exception\Imagine\Filter\NonExistingFilterException
* @return \Liip\ImagineBundle\Binary\BinaryInterface
*/
private function createFilteredBinary($path, $filter, array $runtimeFilters = array())
{
Expand Down

0 comments on commit 4bce009

Please sign in to comment.