Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Cache/File.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function setPath($path)

private function filename()
{
return self::$path . '/' . $this->getFilename(self::$language);
return self::$path.'/'.$this->getFilename(self::$language);
}

public function open($language)
Expand Down
2 changes: 1 addition & 1 deletion src/Cache/Json.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Vanderlee\Syllable\Cache;

/**
* Single-file cache using JSON format to encode data
* Single-file cache using JSON format to encode data.
*/
class Json extends File
{
Expand Down
2 changes: 1 addition & 1 deletion src/Cache/Serialized.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Vanderlee\Syllable\Cache;

/**
* Single-file cache using PHP-native serialization to encode data
* Single-file cache using PHP-native serialization to encode data.
*/
class Serialized extends File
{
Expand Down
4 changes: 2 additions & 2 deletions src/Hyphen/Entity.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public function __construct($entity)

public function joinText($parts)
{
return join('&' . $this->entity . ';', $parts);
return join('&'.$this->entity.';', $parts);
}

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

public function stripHtml($html)
{
return str_replace('&' . $this->entity . ';', '', $html);
return str_replace('&'.$this->entity.';', '', $html);
}
}
Loading