Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Add spaces before NOT operators
Browse files Browse the repository at this point in the history
  • Loading branch information
thexpand committed Sep 5, 2018
1 parent 2ad14e3 commit 6818a86
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/StringPrefix.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function __construct($options = null)
*/
public function setPrefix($prefix)
{
if (!is_string($prefix)) {
if (! is_string($prefix)) {
throw new Exception\InvalidArgumentException(sprintf(
'%s expects "prefix" to be string; received "%s"',
__METHOD__,
Expand All @@ -58,7 +58,7 @@ public function setPrefix($prefix)
*/
public function getPrefix()
{
if (!isset($this->options['prefix'])) {
if (! isset($this->options['prefix'])) {
throw new Exception\InvalidArgumentException(sprintf(
'%s expects a "prefix" option; none given',
__CLASS__
Expand All @@ -73,7 +73,7 @@ public function getPrefix()
*/
public function filter($value)
{
if (!is_scalar($value)) {
if (! is_scalar($value)) {
return $value;
}

Expand Down
6 changes: 3 additions & 3 deletions src/StringSuffix.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function __construct($options = null)
*/
public function setSuffix($suffix)
{
if (!is_string($suffix)) {
if (! is_string($suffix)) {
throw new Exception\InvalidArgumentException(sprintf(
'%s expects "suffix" to be string; received "%s"',
__METHOD__,
Expand All @@ -58,7 +58,7 @@ public function setSuffix($suffix)
*/
public function getSuffix()
{
if (!isset($this->options['suffix'])) {
if (! isset($this->options['suffix'])) {
throw new Exception\InvalidArgumentException(sprintf(
'%s expects a "suffix" option; none given',
__CLASS__
Expand All @@ -73,7 +73,7 @@ public function getSuffix()
*/
public function filter($value)
{
if (!is_scalar($value)) {
if (! is_scalar($value)) {
return $value;
}

Expand Down

0 comments on commit 6818a86

Please sign in to comment.