File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33namespace WriteiniFile ;
44
55/**
6- * Class ReadiniFile
6+ * Class ReadiniFile.
77 */
88class ReadiniFile
99{
@@ -18,10 +18,10 @@ class ReadiniFile
1818 protected static $ data_ini_file ;
1919
2020 /**
21- * method for get data of ini file
21+ * method for get data of ini file.
2222 *
23- * @param string $ini_file path of ini file
24- * @param int $scanner_mode scanner mode INI_SCANNER_RAW INI_SCANNER_TYPED or INI_SCANNER_NORMAL
23+ * @param string $ini_file path of ini file
24+ * @param int $scanner_mode scanner mode INI_SCANNER_RAW INI_SCANNER_TYPED or INI_SCANNER_NORMAL
2525 *
2626 * @return array ini file data in a array
2727 */
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ class WriteiniFile
2121 * Constructor.
2222 *
2323 * @param string $ini_file
24- * @param int $scanner_mode scanner mode INI_SCANNER_RAW, INI_SCANNER_TYPED or INI_SCANNER_NORMAL
24+ * @param int $scanner_mode scanner mode INI_SCANNER_RAW, INI_SCANNER_TYPED or INI_SCANNER_NORMAL
2525 */
2626 public function __construct ($ ini_file , $ scanner_mode = INI_SCANNER_RAW )
2727 {
@@ -124,7 +124,7 @@ public function write()
124124 throw new \Exception (sprintf ('Unable to write in the file ini: %s ' , $ this ->path_to_ini_file ));
125125 }
126126
127- return ($ result !== false ) ? true : false ;
127+ return ($ result !== false ) ? true : false ;
128128 }
129129
130130 /**
Original file line number Diff line number Diff line change 11<?php
22
33use PHPUnit \Framework \TestCase ;
4- use WriteiniFile \WriteiniFile ;
54use WriteiniFile \ReadiniFile ;
5+ use WriteiniFile \WriteiniFile ;
66
77class WriteIniFileTest extends TestCase
88{
You can’t perform that action at this time.
0 commit comments