@@ -42,7 +42,7 @@ |
||
42 | 42 | */ |
43 | 43 | public function buildView(FormView $view, FormInterface $form, array $options) |
44 | 44 | { |
45 | - $locales = array_flip(array_map(function (LocaleInterface $locale) { |
|
45 | + $locales = array_flip(array_map(function(LocaleInterface $locale) { |
|
46 | 46 | return (string) $locale->getCode(); |
47 | 47 | }, $this->localeRepository->findAll())); |
48 | 48 |
@@ -41,7 +41,7 @@ |
||
41 | 41 | } |
42 | 42 | |
43 | 43 | /** |
44 | - * @return \PHPUnit_Framework_MockObject_MockObject|AdapterInterface |
|
44 | + * @return AdapterInterface |
|
45 | 45 | */ |
46 | 46 | private function createAdapterMock() |
47 | 47 | { |
@@ -384,7 +384,7 @@ discard block |
||
384 | 384 | $expr |
385 | 385 | ->expects($this->once()) |
386 | 386 | ->method('equals') |
387 | - ->with($this->callback(function ($parameter) use ($regex) { |
|
387 | + ->with($this->callback(function($parameter) use ($regex) { |
|
388 | 388 | return $parameter instanceof \MongoRegex && (string) $parameter === $regex; |
389 | 389 | })) |
390 | 390 | ->will($this->returnSelf()); |
@@ -411,7 +411,7 @@ discard block |
||
411 | 411 | $expr |
412 | 412 | ->expects($this->once()) |
413 | 413 | ->method('not') |
414 | - ->with($this->callback(function ($parameter) use ($regex) { |
|
414 | + ->with($this->callback(function($parameter) use ($regex) { |
|
415 | 415 | return $parameter instanceof \MongoRegex && (string) $parameter === $regex; |
416 | 416 | })) |
417 | 417 | ->will($this->returnSelf()); |
@@ -91,6 +91,8 @@ |
||
91 | 91 | |
92 | 92 | /** |
93 | 93 | * {@inheritdoc} |
94 | + * @param integer $limit |
|
95 | + * @param integer $offset |
|
94 | 96 | */ |
95 | 97 | public function findBy(array $criteria, array $orderBy = [], $limit = null, $offset = null) |
96 | 98 | { |
@@ -89,6 +89,8 @@ discard block |
||
89 | 89 | |
90 | 90 | /** |
91 | 91 | * {@inheritdoc} |
92 | + * @param integer $limit |
|
93 | + * @param integer $offset |
|
92 | 94 | */ |
93 | 95 | public function findBy(array $criteria, array $orderBy = [], $limit = null, $offset = null) |
94 | 96 | { |
@@ -115,6 +117,8 @@ discard block |
||
115 | 117 | |
116 | 118 | /** |
117 | 119 | * {@inheritdoc} |
120 | + * @param string $alias |
|
121 | + * @param string $indexBy |
|
118 | 122 | */ |
119 | 123 | public function createQueryBuilderForCollection($alias = null, $indexBy = null) |
120 | 124 | { |
@@ -51,7 +51,7 @@ |
||
51 | 51 | } |
52 | 52 | |
53 | 53 | /** |
54 | - * @return \PHPUnit_Framework_MockObject_MockObject|ContainerBuilder |
|
54 | + * @return ContainerBuilder |
|
55 | 55 | */ |
56 | 56 | private function createContainerBuilderMock() |
57 | 57 | { |
@@ -61,7 +61,7 @@ |
||
61 | 61 | ->method('replaceArgument') |
62 | 62 | ->with( |
63 | 63 | $this->identicalTo(0), |
64 | - $this->callback(function ($reference) { |
|
64 | + $this->callback(function($reference) { |
|
65 | 65 | return $reference instanceof Reference |
66 | 66 | && (string) $reference === 'lug.resource.routing.parameter_resolver'; |
67 | 67 | }) |