Completed
Push — master ( b572ab...c6735e )
by Andrea
08:40
created
src/Fi/CoreBundle/Controller/FiController.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -199,6 +199,10 @@  discard block
 block discarded – undo
199 199
         );
200 200
     }
201 201
 
202
+    /**
203
+     * @param string $nomebundle
204
+     * @param string $controller
205
+     */
202 206
     protected function elencoModifiche($nomebundle, $controller, $id)
203 207
     {
204 208
         $controllerStorico = 'Storicomodifiche';
@@ -412,6 +416,10 @@  discard block
 block discarded – undo
412 416
                         ->getForm();
413 417
     }
414 418
 
419
+    /**
420
+     * @param \Symfony\Component\DependencyInjection\ContainerInterface $container
421
+     * @param \Doctrine\Common\Persistence\ObjectManager $em
422
+     */
415 423
     protected function getParametersTestataPerGriglia($request, $container, $em, $paricevuti)
416 424
     {
417 425
         $parametritestarequest = $request->get('parametritesta');
@@ -428,6 +436,10 @@  discard block
 block discarded – undo
428 436
         return $parametritestarequest ? $parametritesta : $paricevuti;
429 437
     }
430 438
 
439
+    /**
440
+     * @param \Symfony\Component\DependencyInjection\ContainerInterface $container
441
+     * @param \Doctrine\Common\Persistence\ObjectManager $em
442
+     */
431 443
     protected function getParametersDatiPerGriglia($request, $container, $em, $paricevuti)
432 444
     {
433 445
         $parametrigriglia = $request->get('parametrigriglia');
Please login to merge, or discard this patch.
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.