Completed
Branch master (456d8b)
by Philip
08:53
created
src/CRUDlex/CRUDMySQLData.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
34 34
      * @param boolean $deleteCascade
35 35
      * whether to delete children and subchildren
36 36
      *
37
-     * @return boolean
37
+     * @return integer
38 38
      * true on successful deletion
39 39
      */
40 40
     protected function doDelete(CRUDEntity $entity, $deleteCascade) {
Please login to merge, or discard this patch.
src/CRUDlex/CRUDEntityDefinition.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -301,11 +301,11 @@
 block discarded – undo
301 301
     }
302 302
 
303 303
     /**
304
-    * Sets the amount of items to display per page on the listview.
305
-    *
306
-    * @param integer $pageSize
307
-    * the amount of items to display per page on the listview
308
-    */
304
+     * Sets the amount of items to display per page on the listview.
305
+     *
306
+     * @param integer $pageSize
307
+     * the amount of items to display per page on the listview
308
+     */
309 309
     public function setPageSize($pageSize) {
310 310
         $this->pageSize = $pageSize;
311 311
     }
Please login to merge, or discard this patch.
src/CRUDlex/CRUDServiceProvider.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -410,9 +410,9 @@
 block discarded – undo
410 410
         $zeroFraction = $float - floor($float) == 0 ? '0' : '';
411 411
 
412 412
         // We don't want values like 0.004 converted to  0.00400000000000000008
413
-    	if ($float > 0.0001) {
414
-    		return $float . ($zeroFraction === '0' ? '.'.$zeroFraction : '');
415
-    	}
413
+        if ($float > 0.0001) {
414
+            return $float . ($zeroFraction === '0' ? '.'.$zeroFraction : '');
415
+        }
416 416
 
417 417
         // We don't want values like 0.00004 converted to its scientific notation 4.0E-5
418 418
         return rtrim(sprintf('%.20F', $float), '0').$zeroFraction;
Please login to merge, or discard this patch.