Completed
Pull Request — master (#44)
by Eric
10:31
created
src/Component/Resource/Form/Type/ResourceType.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -33,13 +33,13 @@
 block discarded – undo
33 33
             ->setAllowedTypes('resource', ResourceInterface::class)
34 34
             ->setAllowedTypes('factory', FactoryInterface::class)
35 35
             ->setDefaults([
36
-                'data_class' => function (Options $options) {
36
+                'data_class' => function(Options $options) {
37 37
                     return $options['resource']->getModel();
38 38
                 },
39
-                'label_prefix' => function (Options $options) {
39
+                'label_prefix' => function(Options $options) {
40 40
                     return 'lug.'.$options['resource']->getName();
41 41
                 },
42
-                'empty_data' => function (FormInterface $form) {
42
+                'empty_data' => function(FormInterface $form) {
43 43
                     return $form->isRequired() || !$form->isEmpty()
44 44
                         ? $form->getConfig()->getOption('factory')->create()
45 45
                         : null;
Please login to merge, or discard this patch.
src/Component/Resource/Repository/Doctrine/MongoDB/RepositoryTrait.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -91,6 +91,8 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Component/Resource/Repository/Doctrine/ORM/RepositoryTrait.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -89,6 +89,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
DependencyInjection/Compiler/RegisterGenericDomainListenerPassTest.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
Tests/DependencyInjection/Compiler/ReplaceBase64FileExtensionPassTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
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
                 })
Please login to merge, or discard this patch.