@@ -62,7 +62,7 @@ |
||
62 | 62 | } |
63 | 63 | |
64 | 64 | /** |
65 | - * @return \PHPUnit_Framework_MockObject_MockObject|OptionsResolver |
|
65 | + * @return OptionsResolver |
|
66 | 66 | */ |
67 | 67 | private function createOptionsResolverMock() |
68 | 68 | { |
@@ -62,7 +62,7 @@ |
||
62 | 62 | } |
63 | 63 | |
64 | 64 | /** |
65 | - * @return \PHPUnit_Framework_MockObject_MockObject|OptionsResolver |
|
65 | + * @return OptionsResolver |
|
66 | 66 | */ |
67 | 67 | private function createOptionsResolverMock() |
68 | 68 | { |
@@ -235,7 +235,7 @@ |
||
235 | 235 | } |
236 | 236 | |
237 | 237 | /** |
238 | - * @return \PHPUnit_Framework_MockObject_MockObject|DocumentRepository |
|
238 | + * @return DocumentManager |
|
239 | 239 | */ |
240 | 240 | private function createRepositoryMock() |
241 | 241 | { |
@@ -231,7 +231,7 @@ |
||
231 | 231 | } |
232 | 232 | |
233 | 233 | /** |
234 | - * @return \PHPUnit_Framework_MockObject_MockObject|DocumentRepository |
|
234 | + * @return DocumentManager |
|
235 | 235 | */ |
236 | 236 | private function createRepositoryMock() |
237 | 237 | { |
@@ -259,7 +259,7 @@ |
||
259 | 259 | } |
260 | 260 | |
261 | 261 | /** |
262 | - * @return \PHPUnit_Framework_MockObject_MockObject|EntityRepository |
|
262 | + * @return EntityManagerInterface |
|
263 | 263 | */ |
264 | 264 | private function createRepositoryMock() |
265 | 265 | { |
@@ -259,7 +259,7 @@ |
||
259 | 259 | } |
260 | 260 | |
261 | 261 | /** |
262 | - * @return \PHPUnit_Framework_MockObject_MockObject|EntityRepository |
|
262 | + * @return EntityManagerInterface |
|
263 | 263 | */ |
264 | 264 | private function createRepositoryMock() |
265 | 265 | { |
@@ -46,7 +46,7 @@ |
||
46 | 46 | */ |
47 | 47 | public function filterDump(AssetInterface $asset) |
48 | 48 | { |
49 | - $asset->setContent($this->filterReferences($asset->getContent(), function ($reference) use ($asset) { |
|
49 | + $asset->setContent($this->filterReferences($asset->getContent(), function($reference) use ($asset) { |
|
50 | 50 | try { |
51 | 51 | return $this->cssRewriter->rewrite($reference, $asset); |
52 | 52 | } catch (\Exception $e) { |
@@ -57,7 +57,7 @@ |
||
57 | 57 | } |
58 | 58 | } |
59 | 59 | |
60 | - usort($sortedAcceptLanguages, function (AcceptLanguage $a, AcceptLanguage $b) { |
|
60 | + usort($sortedAcceptLanguages, function(AcceptLanguage $a, AcceptLanguage $b) { |
|
61 | 61 | return $a->getQuality() > $b->getQuality() ? -1 : 1; |
62 | 62 | }); |
63 | 63 |
@@ -39,7 +39,7 @@ |
||
39 | 39 | public function configureOptions(OptionsResolver $resolver) |
40 | 40 | { |
41 | 41 | $resolver |
42 | - ->setDefault('path', function (Options $options, $path) { |
|
42 | + ->setDefault('path', function(Options $options, $path) { |
|
43 | 43 | return $path ?: $options['column']->getName(); |
44 | 44 | }) |
45 | 45 | ->setAllowedTypes('path', 'string'); |