Completed
Push — master ( dd4291...1d438e )
by Ruud
124:32 queued 111:32
created
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.
src/Kunstmaan/TranslatorBundle/Service/Translator/CacheValidator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
 
45 45
     /**
46 46
      * Retrieve a Datetime of the oldest cache file made
47
-     * @return DateTime mtime of oldest cache file
47
+     * @return null|\DateTime mtime of oldest cache file
48 48
      */
49 49
     public function getOldestCachefileDate()
50 50
     {
Please login to merge, or discard this patch.
src/Kunstmaan/TranslatorBundle/Service/Translator/ResourceCacher.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
 
71 71
     /**
72 72
      * Remove all cached files (translations/resources)
73
-     * @return void
73
+     * @return boolean
74 74
      */
75 75
     public function flushCache()
76 76
     {
Please login to merge, or discard this patch.
src/Kunstmaan/TranslatorBundle/Service/Translator/Translator.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -125,6 +125,12 @@
 block discarded – undo
125 125
         return $trans;
126 126
     }
127 127
 
128
+    /**
129
+     * @param string $id
130
+     * @param string $domain
131
+     * @param string|null $locale
132
+     * @param string $trans
133
+     */
128 134
     public function profileTranslation($id, $parameters, $domain, $locale, $trans)
129 135
     {
130 136
 
Please login to merge, or discard this patch.
src/Kunstmaan/UserManagementBundle/Controller/GroupsController.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -3,18 +3,15 @@
 block discarded – undo
3 3
 namespace Kunstmaan\UserManagementBundle\Controller;
4 4
 
5 5
 use Doctrine\ORM\EntityManager;
6
-
7 6
 use Kunstmaan\AdminBundle\Controller\BaseSettingsController;
8 7
 use Kunstmaan\AdminBundle\Entity\Group;
9 8
 use Kunstmaan\AdminBundle\FlashMessages\FlashTypes;
10 9
 use Kunstmaan\AdminBundle\Form\GroupType;
11 10
 use Kunstmaan\AdminListBundle\AdminList\AdminList;
12
-
13 11
 use Kunstmaan\UserManagementBundle\AdminList\GroupAdminListConfigurator;
14 12
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method;
15 13
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
16 14
 use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
17
-
18 15
 use Symfony\Component\HttpFoundation\RedirectResponse;
19 16
 use Symfony\Component\HttpFoundation\Request;
20 17
 use Symfony\Component\Security\Core\Exception\AccessDeniedException;
Please login to merge, or discard this patch.