Skip to content

Commit 34a349f

Browse files
authored
Merge pull request #53 from vanderlee/analysis-4wERnG
Apply fixes from StyleCI
2 parents f16fdf4 + 3c45838 commit 34a349f

File tree

5 files changed

+67
-62
lines changed

5 files changed

+67
-62
lines changed

Diff for: src/Cache/File.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ public function setPath($path)
2929

3030
private function filename()
3131
{
32-
return self::$path . '/' . $this->getFilename(self::$language);
32+
return self::$path.'/'.$this->getFilename(self::$language);
3333
}
3434

3535
public function open($language)

Diff for: src/Cache/Json.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Vanderlee\Syllable\Cache;
44

55
/**
6-
* Single-file cache using JSON format to encode data
6+
* Single-file cache using JSON format to encode data.
77
*/
88
class Json extends File
99
{

Diff for: src/Cache/Serialized.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
namespace Vanderlee\Syllable\Cache;
44

55
/**
6-
* Single-file cache using PHP-native serialization to encode data
6+
* Single-file cache using PHP-native serialization to encode data.
77
*/
88
class Serialized extends File
99
{

Diff for: src/Hyphen/Entity.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public function __construct($entity)
1313

1414
public function joinText($parts)
1515
{
16-
return join('&' . $this->entity . ';', $parts);
16+
return join('&'.$this->entity.';', $parts);
1717
}
1818

1919
public function joinHtmlDom($parts, \DOMNode $node)
@@ -29,6 +29,6 @@ public function joinHtmlDom($parts, \DOMNode $node)
2929

3030
public function stripHtml($html)
3131
{
32-
return str_replace('&' . $this->entity . ';', '', $html);
32+
return str_replace('&'.$this->entity.';', '', $html);
3333
}
3434
}

0 commit comments

Comments
 (0)