Completed
Push — master ( c1e214...b66c83 )
by Andrea
11:11
created
src/Fi/CoreBundle/DependencyInjection/PercentualiStringhe.php 1 patch
Doc Comments   +10 added lines, -3 removed lines patch added patch discarded remove patch
@@ -42,9 +42,6 @@  discard block
 block discarded – undo
42 42
      * (con un parametro di tolleranza) allora la percentuale si alza.
43 43
      *
44 44
      * @param array  $parametri
45
-     * @param string $parametri["stringaa"]   prima stringa da confrontare
46
-     * @param string $parametri["stringab"]   seconda stringa da confrontare
47
-     * @param int    $parametri["tolleranza"] numero di posizioni prima e dopo in cui cercare
48 45
      *
49 46
      * @return int
50 47
      */
@@ -77,16 +74,26 @@  discard block
 block discarded – undo
77 74
         return $perc;
78 75
     }
79 76
 
77
+    /**
78
+     * @param integer $i
79
+     * @param integer $strlensa
80
+     */
80 81
     private function getCarattereAPercentualeConfrontoStringhe($i, $stringaa, $strlensa)
81 82
     {
82 83
         return $strlensa >= $i ? substr($stringaa, $i, 1) : false;
83 84
     }
84 85
 
86
+    /**
87
+     * @param integer $i
88
+     */
85 89
     private function getOffsetPercentualeConfrontoStringhe($i, $tolleranzauno)
86 90
     {
87 91
         return (($i - $tolleranzauno) >= 0) ? ($i - $tolleranzauno) : 0;
88 92
     }
89 93
 
94
+    /**
95
+     * @param integer $i
96
+     */
90 97
     private function partecento($i, $posizioneinb, $tolleranzauno, $partecento)
91 98
     {
92 99
         if (!($posizioneinb === false)) {
Please login to merge, or discard this patch.
src/Fi/CoreBundle/Controller/FiController.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -75,6 +75,10 @@  discard block
 block discarded – undo
75 75
         return $risultato;
76 76
     }
77 77
 
78
+    /**
79
+     * @param \Symfony\Component\DependencyInjection\ContainerInterface $container
80
+     * @param \Doctrine\Common\Persistence\ObjectManager $em
81
+     */
78 82
     protected function getParametersTestataPerGriglia($request, $container, $em, $paricevuti)
79 83
     {
80 84
         $parametritestarequest = $request->get('parametritesta');
@@ -91,6 +95,10 @@  discard block
 block discarded – undo
91 95
         return $parametritestarequest ? $parametritesta : $paricevuti;
92 96
     }
93 97
 
98
+    /**
99
+     * @param \Symfony\Component\DependencyInjection\ContainerInterface $container
100
+     * @param \Doctrine\Common\Persistence\ObjectManager $em
101
+     */
94 102
     protected function getParametersDatiPerGriglia($request, $container, $em, $paricevuti)
95 103
     {
96 104
         $parametrigriglia = $request->get('parametrigriglia');
Please login to merge, or discard this patch.
DependencyInjection/PannelloAmministrazioneUtils.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -15,6 +15,9 @@
 block discarded – undo
15 15
     private $container;
16 16
     private $apppaths;
17 17
 
18
+    /**
19
+     * @param \Symfony\Component\DependencyInjection\ContainerInterface $container
20
+     */
18 21
     public function __construct($container)
19 22
     {
20 23
         $this->container = $container;
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use Symfony\Component\Console\Output\BufferedOutput;
7 7
 use Symfony\Component\Console\Input\ArrayInput;
8 8
 use Symfony\Component\Process\Process;
9
-use Fi\PannelloAmministrazioneBundle\DependencyInjection\ProjectPath;
10 9
 use Fi\OsBundle\DependencyInjection\OsFunctions;
11 10
 
12 11
 class PannelloAmministrazioneUtils
Please login to merge, or discard this patch.
DependencyInjection/PannelloamministrazioneCommands.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -212,6 +212,9 @@
 block discarded – undo
212 212
         return $cmdoutput;
213 213
     }
214 214
 
215
+    /**
216
+     * @param string $env
217
+     */
215 218
     public function clearcacheEnv($env)
216 219
     {
217 220
         $ret = $this->pammutils->clearcache($env);
Please login to merge, or discard this patch.