Completed
Pull Request — master (#466)
by Leny
22:20 queued 13:42
created
Bundle/CriteriaBundle/Form/Type/CriteriaType.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
         //we use the PRE_SUBMIT event to set the mode option
67 67
         $builder->addEventListener(
68 68
             FormEvents::PRE_SUBMIT,
69
-            function (FormEvent $event) use ($options) {
69
+            function(FormEvent $event) use ($options) {
70 70
                 //we get the raw data for the widget form
71 71
                 $rawData = $event->getData();
72 72
 
Please login to merge, or discard this patch.
Bundle/FormBundle/Helper/FormErrorHelper.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      *
29 29
      * This method should only be used in ajax calls.
30 30
      *
31
-     * @param Form $form         The form to parse
31
+     * @param \Symfony\Component\Form\Form $form         The form to parse
32 32
      * @param bool $withChildren Do we parse the embedded forms
33 33
      *
34 34
      * @return string A string representation of all errors
Please login to merge, or discard this patch.
Bundle/CriteriaBundle/Chain/DataSourceChain.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     public function addDataSource($dataSource, $parameters)
22 22
     {
23 23
         $method = $parameters['method'];
24
-        $data = function () use ($dataSource, $method) {
24
+        $data = function() use ($dataSource, $method) {
25 25
             return $dataSource->{$method}();
26 26
         };
27 27
         $this->dataSource[$parameters['alias']] = [
Please login to merge, or discard this patch.
Bundle/WidgetBundle/Command/MigrateWidgetOwningSideCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
             $widget = $widgetMap->getWidget();
44 44
             $widget->setWidgetMap($widgetMap);
45 45
             $widgetMap->setWidget(null);
46
-            if ($key % 100 == 0) {
46
+            if ($key%100 == 0) {
47 47
                 $entityManager->flush();
48 48
             }
49 49
             $progress->advance();
Please login to merge, or discard this patch.
Bundle/BlogBundle/Entity/ArticleTranslation.php 1 patch
Doc Comments   +3 added lines, -4 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
      *
64 64
      * @param string $name
65 65
      *
66
-     * @return View
66
+     * @return ArticleTranslation
67 67
      */
68 68
     public function setName($name)
69 69
     {
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
      *
78 78
      * @param string $slug
79 79
      *
80
-     * @return View
80
+     * @return ArticleTranslation
81 81
      */
82 82
     public function setSlug($slug)
83 83
     {
@@ -109,9 +109,8 @@  discard block
 block discarded – undo
109 109
     /**
110 110
      * Set category.
111 111
      *
112
-     * @param string $category
113 112
      *
114
-     * @return Article
113
+     * @return ArticleTranslation
115 114
      */
116 115
     public function setDescription($description)
117 116
     {
Please login to merge, or discard this patch.
Bundle/BusinessPageBundle/Builder/BusinessPageBuilder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -215,7 +215,7 @@
 block discarded – undo
215 215
     /**
216 216
      * @param VirtualBusinessPage $page
217 217
      * @param BusinessTemplate    $businessTemplate
218
-     * @param array               $businessProperties
218
+     * @param BusinessProperty[]               $businessProperties
219 219
      * @param EntityManager       $em
220 220
      * @param                     $entity
221 221
      *
Please login to merge, or discard this patch.
Bundle/CoreBundle/Translation/DynamicTranslations.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
     /**
14 14
      * usage example: new Message('example.keymap')->addSource('path/to/source/file', '514', '10'),.
15 15
      *
16
-     * @return array the keys to register in jms translation
16
+     * @return Message[] the keys to register in jms translation
17 17
      */
18 18
     public static function getTranslationMessages()
19 19
     {
Please login to merge, or discard this patch.
Bundle/PageBundle/Entity/Traits/WebViewTrait.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -179,6 +179,9 @@
 block discarded – undo
179 179
         return PropertyAccess::createPropertyAccessor()->getValue($this->translate(), 'getUrl');
180 180
     }
181 181
 
182
+    /**
183
+     * @param string $name
184
+     */
182 185
     public function setUrl($name, $locale = null)
183 186
     {
184 187
         $this->translate($locale)->setUrl($name);
Please login to merge, or discard this patch.
Bundle/QueryBundle/Helper/QueryHelper.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 use Doctrine\ORM\Mapping\ManyToOne;
9 9
 use Doctrine\ORM\Mapping\OneToMany;
10 10
 use Doctrine\ORM\Mapping\OneToOne;
11
-use Doctrine\ORM\Query\Expr\Join;
12 11
 use Doctrine\ORM\QueryBuilder;
13 12
 use FOS\UserBundle\Model\UserInterface;
14 13
 use Knp\DoctrineBehaviors\Model\Translatable\Translatable;
Please login to merge, or discard this patch.