@@ -2,5 +2,5 @@ |
||
| 2 | 2 | namespace Ajax\semantic\html\base; |
| 3 | 3 | use Ajax\common\BaseEnum; |
| 4 | 4 | abstract class Size extends BaseEnum { |
| 5 | - const MINI="mini", TINY="tiny", SMALL="small", MEDIUM="",LARGE="large", BIG="big", HUGE="huge", MASSIVE="massive"; |
|
| 5 | + const MINI="mini", TINY="tiny", SMALL="small", MEDIUM="", LARGE="large", BIG="big", HUGE="huge", MASSIVE="massive"; |
|
| 6 | 6 | } |
| 7 | 7 | \ No newline at end of file |
@@ -14,7 +14,7 @@ discard block |
||
| 14 | 14 | * {@inheritDoc} |
| 15 | 15 | * @see \Ajax\common\html\HtmlSingleElement::setSize() |
| 16 | 16 | */ |
| 17 | - public function setSize($size){ |
|
| 17 | + public function setSize($size) { |
|
| 18 | 18 | return $this->addToPropertyCtrl("class", $size, Size::getConstants()); |
| 19 | 19 | } |
| 20 | 20 | |
@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | * show it is currently unable to be interacted with |
| 23 | 23 | * @return \Ajax\semantic\html\elements\HtmlSemDoubleElement |
| 24 | 24 | */ |
| 25 | - public function setDisabled(){ |
|
| 25 | + public function setDisabled() { |
|
| 26 | 26 | return $this->addToProperty("class", "disabled"); |
| 27 | 27 | } |
| 28 | 28 | |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | * @param string $color |
| 31 | 31 | * @return \Ajax\semantic\html\base\HtmlSemDoubleElement |
| 32 | 32 | */ |
| 33 | - public function setColor($color){ |
|
| 34 | - return $this->addToPropertyCtrl("class", $color,Color::getConstants()); |
|
| 33 | + public function setColor($color) { |
|
| 34 | + return $this->addToPropertyCtrl("class", $color, Color::getConstants()); |
|
| 35 | 35 | } |
| 36 | 36 | } |
| 37 | 37 | \ No newline at end of file |