Completed
Push — master ( 0002ba...cd8c72 )
by Guillaume
03:23 queued 27s
created
src/Starkerxp/StructureBundle/Manager/EntityManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
     /**
40 40
      * @param Entity $object
41 41
      *
42
-     * @return bool|ManagerInterface
42
+     * @return Entity
43 43
      */
44 44
     public function getSupport(Entity $object)
45 45
     {
Please login to merge, or discard this patch.
var/SymfonyRequirements.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
      * Adds a mandatory requirement in form of a php.ini configuration.
224 224
      *
225 225
      * @param string        $cfgName           The configuration name used for ini_get()
226
-     * @param bool|callback $evaluation        Either a boolean indicating whether the configuration should evaluate to true or false,
226
+     * @param boolean|string $evaluation        Either a boolean indicating whether the configuration should evaluate to true or false,
227 227
      *                                         or a callback function receiving the configuration value as parameter to determine the fulfillment of the requirement
228 228
      * @param bool          $approveCfgAbsence If true the Requirement will be fulfilled even if the configuration option does not exist, i.e. ini_get() returns false.
229 229
      *                                         This is helpful for abandoned configs in later PHP versions or configs of an optional extension, like Suhosin.
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
      * Adds an optional recommendation in form of a php.ini configuration.
242 242
      *
243 243
      * @param string        $cfgName           The configuration name used for ini_get()
244
-     * @param bool|callback $evaluation        Either a boolean indicating whether the configuration should evaluate to true or false,
244
+     * @param string|false $evaluation        Either a boolean indicating whether the configuration should evaluate to true or false,
245 245
      *                                         or a callback function receiving the configuration value as parameter to determine the fulfillment of the requirement
246 246
      * @param bool          $approveCfgAbsence If true the Requirement will be fulfilled even if the configuration option does not exist, i.e. ini_get() returns false.
247 247
      *                                         This is helpful for abandoned configs in later PHP versions or configs of an optional extension, like Suhosin.
Please login to merge, or discard this patch.
src/Starkerxp/CampagneBundle/Render/BuzzExpertRender.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -11,6 +11,9 @@
 block discarded – undo
11 11
         return $contenu;
12 12
     }
13 13
 
14
+    /**
15
+     * @param string $contenu
16
+     */
14 17
     public function remplacerLesCaracteresSpeciaux($contenu)
15 18
     {
16 19
         // Gestion des accents.
Please login to merge, or discard this patch.
src/Starkerxp/StructureBundle/Generator/AbstractGenerator.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -33,6 +33,10 @@  discard block
 block discarded – undo
33 33
         return $this;
34 34
     }
35 35
 
36
+    /**
37
+     * @param string[] $search
38
+     * @param string[] $replace
39
+     */
36 40
     protected function traiterLesFichiers($bundle, $parameters, $search, $replace)
37 41
     {
38 42
         foreach ($this->getFichiers() as $template) {
@@ -52,6 +56,9 @@  discard block
 block discarded – undo
52 56
 
53 57
     public abstract function getFichiers();
54 58
 
59
+    /**
60
+     * @param string $target
61
+     */
55 62
     public function traiterLeFichier($fichier, $target, $parameters)
56 63
     {
57 64
         if (file_exists($target) && explode('.', basename($target))[1] == 'yml') {
@@ -100,6 +107,9 @@  discard block
 block discarded – undo
100 107
         return true;
101 108
     }
102 109
 
110
+    /**
111
+     * @param string $clef
112
+     */
103 113
     protected function genererParameters($clef, $controller)
104 114
     {
105 115
         $controller = explode(':', $controller);
Please login to merge, or discard this patch.
src/Starkerxp/CampagneBundle/Render/OctosendHtmlRender.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -33,6 +33,9 @@  discard block
 block discarded – undo
33 33
         return $contenuReplace;
34 34
     }
35 35
 
36
+    /**
37
+     * @param string $type
38
+     */
36 39
     private function renderLien($type, $contenu)
37 40
     {
38 41
         $arrayContenu = [];
@@ -49,6 +52,11 @@  discard block
 block discarded – undo
49 52
 
50 53
     }
51 54
 
55
+    /**
56
+     * @param string $lien
57
+     * @param string $texte
58
+     * @param string $style
59
+     */
52 60
     protected function retournerLaChaine($type, $lien, $texte, $style = null)
53 61
     {
54 62
         if ($type == "unsub") {
Please login to merge, or discard this patch.
src/Starkerxp/CampagneBundle/Entity/Cible.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@
 block discarded – undo
157 157
     /**
158 158
      * Get cible
159 159
      *
160
-     * @return integer
160
+     * @return boolean
161 161
      */
162 162
     public function getCible()
163 163
     {
Please login to merge, or discard this patch.