Skip to content

Commit 85ead7a

Browse files
committed
Indent using tabs
1 parent 9e23f77 commit 85ead7a

File tree

9 files changed

+518
-518
lines changed

9 files changed

+518
-518
lines changed

lib/Sabberworm/CSS/CSSList/CSSList.php

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -94,40 +94,40 @@ public function __toString() {
9494
return $this->render(new OutputFormat());
9595
}
9696

97-
/**
98-
* {@inheritdoc}
99-
*/
97+
/**
98+
* {@inheritdoc}
99+
*/
100100
public function render(OutputFormat $oOutputFormat) {
101-
$sResult = '';
102-
$bIsFirst = true;
103-
$oNextLevel = $oOutputFormat;
104-
if (!$this->isRootList()) {
105-
$oNextLevel = $oOutputFormat->nextLevel();
106-
}
107-
foreach ($this->aContents as $oContent) {
108-
$sRendered = $oOutputFormat->safely(
109-
function () use ($oNextLevel, $oContent) {
110-
return $oContent->render($oNextLevel);
111-
}
112-
);
113-
if ($sRendered === null) {
114-
continue;
115-
}
116-
if ($bIsFirst) {
117-
$bIsFirst = false;
118-
$sResult .= $oNextLevel->spaceBeforeBlocks();
119-
} else {
120-
$sResult .= $oNextLevel->spaceBetweenBlocks();
121-
}
122-
$sResult .= $sRendered;
123-
}
124-
125-
if (!$bIsFirst) {
126-
// Had some output
127-
$sResult .= $oOutputFormat->spaceAfterBlocks();
128-
}
129-
130-
return $sResult;
101+
$sResult = '';
102+
$bIsFirst = true;
103+
$oNextLevel = $oOutputFormat;
104+
if (!$this->isRootList()) {
105+
$oNextLevel = $oOutputFormat->nextLevel();
106+
}
107+
foreach ($this->aContents as $oContent) {
108+
$sRendered = $oOutputFormat->safely(
109+
function () use ($oNextLevel, $oContent) {
110+
return $oContent->render($oNextLevel);
111+
}
112+
);
113+
if ($sRendered === null) {
114+
continue;
115+
}
116+
if ($bIsFirst) {
117+
$bIsFirst = false;
118+
$sResult .= $oNextLevel->spaceBeforeBlocks();
119+
} else {
120+
$sResult .= $oNextLevel->spaceBetweenBlocks();
121+
}
122+
$sResult .= $sRendered;
123+
}
124+
125+
if (!$bIsFirst) {
126+
// Had some output
127+
$sResult .= $oOutputFormat->spaceAfterBlocks();
128+
}
129+
130+
return $sResult;
131131
}
132132

133133
/**

lib/Sabberworm/CSS/CSSList/Document.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -92,13 +92,13 @@ public function createShorthands() {
9292
}
9393
}
9494

95-
/**
96-
* {@inheritdoc}
97-
*
98-
* @param OutputFormat|null $oOutputFormat
99-
*
100-
* @return string
101-
*/
95+
/**
96+
* {@inheritdoc}
97+
*
98+
* @param OutputFormat|null $oOutputFormat
99+
*
100+
* @return string
101+
*/
102102
public function render(OutputFormat $oOutputFormat = null) {
103103
if($oOutputFormat === null) {
104104
$oOutputFormat = new OutputFormat();

lib/Sabberworm/CSS/Comment/Commentable.php

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,18 @@
44

55
interface Commentable
66
{
7-
/**
8-
* @param Comment[] $aComments Array of comments.
9-
*/
10-
public function addComments(array $aComments);
7+
/**
8+
* @param Comment[] $aComments Array of comments.
9+
*/
10+
public function addComments(array $aComments);
1111

12-
/**
13-
* @return Comment[]
14-
*/
15-
public function getComments();
12+
/**
13+
* @return Comment[]
14+
*/
15+
public function getComments();
1616

17-
/**
18-
* @param Comment[] $aComments Array containing Comment objects.
19-
*/
20-
public function setComments(array $aComments);
17+
/**
18+
* @param Comment[] $aComments Array containing Comment objects.
19+
*/
20+
public function setComments(array $aComments);
2121
}

0 commit comments

Comments
 (0)