Completed
Push — master ( d48ef1...47bb75 )
by
unknown
166:45 queued 146:49
created
src/Kunstmaan/TaggingBundle/Controller/TagAdminListController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      * @Route("/add", name="kunstmaantaggingbundle_admin_tag_add")
43 43
      * @Method({"GET", "POST"})
44 44
      * @Template("KunstmaanAdminListBundle:Default:add.html.twig")
45
-     * @return array
45
+     * @return \Symfony\Component\HttpFoundation\Response
46 46
      */
47 47
     public function addAction(Request $request)
48 48
     {
Please login to merge, or discard this patch.
src/Kunstmaan/TaggingBundle/Entity/Tag.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -110,7 +110,7 @@
 block discarded – undo
110 110
     /**
111 111
      * Get createdAt
112 112
      *
113
-     * @return datetime
113
+     * @return \DateTime
114 114
      */
115 115
     public function getCreatedAt()
116 116
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
7 7
 use Gedmo\Mapping\Annotation as Gedmo;
8 8
 use Gedmo\Translatable\Translatable;
9 9
 use Kunstmaan\TaggingBundle\Form\TagAdminType;
10
-
11 10
 use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
12 11
 
13 12
 /**
Please login to merge, or discard this patch.
src/Kunstmaan/TaggingBundle/Entity/Tagging.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\ORM\Mapping as ORM;
6 6
 use DoctrineExtensions\Taggable\Entity\Tag as BaseTag;
7
-
8 7
 use DoctrineExtensions\Taggable\Entity\Tagging as BaseTagging;
9 8
 
10 9
 /**
Please login to merge, or discard this patch.
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -90,7 +90,7 @@  discard block
 block discarded – undo
90 90
     /**
91 91
      * Set resourceType
92 92
      *
93
-     * @param $resourceType
93
+     * @param string $resourceType
94 94
      */
95 95
     public function setResourceType($resourceType)
96 96
     {
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
     /**
111 111
      * Set resourceId
112 112
      *
113
-     * @param $resourceId
113
+     * @param integer $resourceId
114 114
      */
115 115
     public function setResourceId($resourceId)
116 116
     {
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
     /**
141 141
      * Get createdAt
142 142
      *
143
-     * @return datetime
143
+     * @return \DateTime
144 144
      */
145 145
     public function getCreatedAt()
146 146
     {
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
     /**
161 161
      * Get updatedAt
162 162
      *
163
-     * @return datetime
163
+     * @return \DateTime
164 164
      */
165 165
     public function getUpdatedAt()
166 166
     {
Please login to merge, or discard this patch.
src/Kunstmaan/TaggingBundle/Entity/TagManager.php 2 patches
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Doctrine\ORM\Query\ResultSetMappingBuilder;
7 7
 use DoctrineExtensions\Taggable\Taggable as BaseTaggable;
8 8
 use DoctrineExtensions\Taggable\TagManager as BaseTagManager;
9
-
10 9
 use Kunstmaan\NodeBundle\Entity\AbstractPage;
11 10
 
12 11
 class TagManager extends BaseTagManager
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
     }
78 78
 
79 79
     /**
80
-     * @param $id
80
+     * @param integer|null $id
81 81
      * @return mixed|null
82 82
      * @throws \Doctrine\ORM\NonUniqueResultException
83 83
      */
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
     /**
115 115
      * @param Taggable $item
116 116
      * @param $class
117
-     * @param $locale
117
+     * @param string $locale
118 118
      * @param int $nbOfItems
119 119
      * @return array|null
120 120
      */
Please login to merge, or discard this patch.
src/Kunstmaan/TaggingBundle/Form/DataTransformer/TagsTransformer.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
      *
81 81
      * @param mixed $value The value in the transformed representation
82 82
      *
83
-     * @return mixed The value in the original representation
83
+     * @return ArrayCollection The value in the original representation
84 84
      *
85 85
      * @throws UnexpectedTypeException       when the argument is not of the expected type
86 86
      * @throws TransformationFailedException when the transformation fails
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use Doctrine\Common\Collections\ArrayCollection;
6 6
 use Kunstmaan\TaggingBundle\Entity\TagManager;
7
-
8 7
 use Symfony\Component\Form\DataTransformerInterface;
9 8
 
10 9
 class TagsTransformer implements DataTransformerInterface
Please login to merge, or discard this patch.
src/Kunstmaan/TaggingBundle/Form/TagsAdminType.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use Kunstmaan\TaggingBundle\Entity\TagManager;
6 6
 use Kunstmaan\TaggingBundle\Form\DataTransformer\TagsTransformer;
7 7
 use Symfony\Component\Form\AbstractType;
8
-
9 8
 use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
10 9
 use Symfony\Component\Form\FormBuilderInterface;
11 10
 use Symfony\Component\OptionsResolver\OptionsResolver;
Please login to merge, or discard this patch.
src/Kunstmaan/TranslatorBundle/Model/Export/ExportFile.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -58,6 +58,9 @@
 block discarded – undo
58 58
         return $this->extension;
59 59
     }
60 60
 
61
+    /**
62
+     * @param string $extension
63
+     */
61 64
     public function setExtension($extension)
62 65
     {
63 66
         $this->extension = $extension;
Please login to merge, or discard this patch.
src/Kunstmaan/TranslatorBundle/Model/Translation/TranslationGroup.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
     }
102 102
 
103 103
     /**
104
-     * @return mixed
104
+     * @return string
105 105
      */
106 106
     public function getId()
107 107
     {
@@ -118,6 +118,9 @@  discard block
 block discarded – undo
118 118
         $this->keyword = $keyword;
119 119
     }
120 120
 
121
+    /**
122
+     * @return string
123
+     */
121 124
     public function getDomain()
122 125
     {
123 126
         return $this->domain;
Please login to merge, or discard this patch.
src/Kunstmaan/TranslatorBundle/Service/Migrations/MigrationsService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
      * Build an sql insert into query by the paramters provided
92 92
      * @param  ORM\Entity $entities        Result array with all entities to create an insert for
93 93
      * @param  string     $entityClassName Class of the specified entity (same as entities)
94
-     * @param  array      $ignoreFields    fields not to use in the insert query
94
+     * @param  string[]      $ignoreFields    fields not to use in the insert query
95 95
      * @return string     an insert sql query, of no result nul
96 96
      */
97 97
     public function buildInsertSql($entities, $entityClassName, $ignoreFields = array())
Please login to merge, or discard this patch.