Skip to content

Commit 76212d0

Browse files
committed
Merge pull request #5 from nilportugues/scrutinizer-patch-1
Scrutinizer Auto-Fixes
2 parents 013f549 + e92c85a commit 76212d0

File tree

3 files changed

+2
-9
lines changed

3 files changed

+2
-9
lines changed

src/Formatter.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ class Formatter
4040
*/
4141
private $inlineParentheses = false;
4242

43-
4443
/**
4544
* @var bool
4645
*/
@@ -197,8 +196,6 @@ private function removeTokenWhitespace(array &$originalTokens)
197196
return $tokens;
198197
}
199198

200-
201-
202199
/**
203200
* Adds a new line break if needed.
204201
*
@@ -378,7 +375,6 @@ private function addNewLineAfterOpeningParentheses()
378375
}
379376
}
380377

381-
382378
/**
383379
* @param boolean $addedNewline
384380
* @param string $tab

src/Helper/Indent.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ public function increaseBlockIndent()
6767
}
6868
}
6969

70-
7170
/**
7271
* Closing parentheses decrease the block indent level.
7372
*/
@@ -85,7 +84,6 @@ public function decreaseIndentLevelUntilIndentTypeIsSpecial(Formatter $formatter
8584
}
8685
}
8786

88-
8987
/**
9088
*/
9189
public function decreaseSpecialIndentIfCurrentIndentTypeIsSpecial()
@@ -99,15 +97,15 @@ public function decreaseSpecialIndentIfCurrentIndentTypeIsSpecial()
9997
}
10098

10199
/**
102-
* @return int
100+
* @return boolean
103101
*/
104102
public function getIncreaseBlockIndent()
105103
{
106104
return $this->increaseBlockIndent;
107105
}
108106

109107
/**
110-
* @return int
108+
* @return boolean
111109
*/
112110
public function getIncreaseSpecialIndent()
113111
{

src/Helper/Tokenizer.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ class Tokenizer
3232
const TOKEN_TYPE = 0;
3333
const TOKEN_VALUE = 1;
3434

35-
3635
/**
3736
* @var string
3837
*/

0 commit comments

Comments
 (0)