Skip to content

Commit 894d9a5

Browse files
committed
fix(): styleci
1 parent da618e4 commit 894d9a5

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

src/ReadiniFile.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace WriteiniFile;
44

55
/**
6-
* Class ReadiniFile
6+
* Class ReadiniFile.
77
*/
88
class 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
*/

src/WriteiniFile.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
/**

tests/WriteIniFileTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22

33
use PHPUnit\Framework\TestCase;
4-
use WriteiniFile\WriteiniFile;
54
use WriteiniFile\ReadiniFile;
5+
use WriteiniFile\WriteiniFile;
66

77
class WriteIniFileTest extends TestCase
88
{

0 commit comments

Comments
 (0)