Passed
Branch master (da3e06)
by Alexander
03:19
created
src/RandomArray.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -36,15 +36,15 @@
 block discarded – undo
36 36
      */
37 37
     public $lim_elements = 10000;
38 38
     
39
-     /**
40
-     * Model number for generation random Keys for Arrays
41
-     * if 0 then array keys will be simple 1,2,3... numeric
42
-     * if 1 then array keys will be numeric from min_arr_key to max_arr_key
43
-     * if 2 then array keys will be string len from min_arr_key to max_arr_key
44
-     * This value setting by function setKeysModel()
45
-     *
46
-     * @var integer
47
-     */
39
+        /**
40
+         * Model number for generation random Keys for Arrays
41
+         * if 0 then array keys will be simple 1,2,3... numeric
42
+         * if 1 then array keys will be numeric from min_arr_key to max_arr_key
43
+         * if 2 then array keys will be string len from min_arr_key to max_arr_key
44
+         * This value setting by function setKeysModel()
45
+         *
46
+         * @var integer
47
+         */
48 48
     protected $keys_model;
49 49
 
50 50
     /**
Please login to merge, or discard this patch.
src/RandomToFile.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -254,7 +254,9 @@
 block discarded – undo
254 254
     public function setOutputFile($file_name = null, $ext = null)
255 255
     {
256 256
         if (empty($file_name) || !is_string($file_name)) {
257
-            if (!is_null($ext)) $ext = $this->default_ext;
257
+            if (!is_null($ext)) {
258
+                $ext = $this->default_ext;
259
+            }
258 260
             $file_name = $this->genTempFileName($ext);
259 261
         }
260 262
         return $this->full_file_name = $file_name;
Please login to merge, or discard this patch.