Completed
Push — master ( ab15cd...cfbc80 )
by
unknown
16s
created
src/Html/HtmlTableCellBuilder.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -38,9 +38,9 @@  discard block
 block discarded – undo
38 38
 	 *
39 39
 	 * @throws InvalidArgumentException
40 40
 	 */
41
-	public function __construct( $content, array $attributes = [], $isRawContent = false ) {
42
-		Assert::parameterType( 'string', $content, '$content' );
43
-		Assert::parameterType( 'boolean', $isRawContent, '$isRawContent' );
41
+	public function __construct($content, array $attributes = [], $isRawContent = false) {
42
+		Assert::parameterType('string', $content, '$content');
43
+		Assert::parameterType('boolean', $isRawContent, '$isRawContent');
44 44
 
45 45
 		$this->content = $content;
46 46
 		$this->attributes = $attributes;
@@ -65,10 +65,10 @@  discard block
 block discarded – undo
65 65
 	 * @return string HTML
66 66
 	 */
67 67
 	public function toHtml() {
68
-		if ( $this->isRawContent ) {
69
-			return Html::rawElement( 'td', $this->getAttributes(), $this->content );
68
+		if ($this->isRawContent) {
69
+			return Html::rawElement('td', $this->getAttributes(), $this->content);
70 70
 		} else {
71
-			return Html::element( 'td', $this->getAttributes(), $this->content );
71
+			return Html::element('td', $this->getAttributes(), $this->content);
72 72
 		}
73 73
 	}
74 74
 
Please login to merge, or discard this patch.