Skip to content

Commit 97925da

Browse files
committed
Automatic fixes and baseline
1 parent c6c160b commit 97925da

File tree

2 files changed

+6
-13
lines changed

2 files changed

+6
-13
lines changed

config/phpstan-baseline.neon

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
11
parameters:
2-
ignoreErrors:
3-
-
4-
message: '#^Call to an undefined method Sabberworm\\CSS\\OutputFormat\:\:setIndentation\(\)\.$#'
5-
identifier: method.notFound
6-
count: 2
7-
path: ../src/OutputFormat.php
2+
ignoreErrors: []
83

src/OutputFormat.php

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -161,9 +161,7 @@ class OutputFormat
161161
*/
162162
private $iIndentationLevel = 0;
163163

164-
public function __construct()
165-
{
166-
}
164+
public function __construct() {}
167165

168166
/**
169167
* @param string $sName
@@ -669,19 +667,19 @@ public function setIndentationLevel(int $iIndentationLevel): self
669667
/**
670668
* @param int $iNumber
671669
*
672-
* @return self
670+
* @return $this fluent interface
673671
*/
674-
public function indentWithTabs($iNumber = 1)
672+
public function indentWithTabs($iNumber = 1): self
675673
{
676674
return $this->setIndentation(\str_repeat("\t", $iNumber));
677675
}
678676

679677
/**
680678
* @param int $iNumber
681679
*
682-
* @return self
680+
* @return $this fluent interface
683681
*/
684-
public function indentWithSpaces($iNumber = 2)
682+
public function indentWithSpaces($iNumber = 2): self
685683
{
686684
return $this->setIndentation(\str_repeat(' ', $iNumber));
687685
}

0 commit comments

Comments
 (0)