Passed
Push — php-cs-fixer ( b7e6c1...b932d3 )
by Fabio
31:05 queued 15:54
created
framework/Web/UI/ActiveControls/TActiveCheckBox.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@
 block discarded – undo
135 135
 	protected function renderInputTag($writer, $clientID, $onclick)
136 136
 	{
137 137
 		parent::renderInputTag($writer, $clientID, $onclick);
138
-		if ($this->getAutoPostBack())
138
+		if($this->getAutoPostBack())
139 139
 			$this->getActiveControl()->registerCallbackClientScript(
140 140
 				$this->getClientClassName(), $this->getPostBackOptions());
141 141
 	}
Please login to merge, or discard this patch.
framework/Web/UI/ActiveControls/TActiveDatePicker.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
 	/**
88 88
 	 * @return TBaseActiveCallbackControl standard callback control options.
89 89
 	 */
90
-	public function getActiveControl(){
90
+	public function getActiveControl() {
91 91
 		return $this->getAdapter()->getBaseActiveControl();
92 92
 	}
93 93
 
@@ -95,15 +95,15 @@  discard block
 block discarded – undo
95 95
 	 * Client-side Text property can only be updated after the OnLoad stage.
96 96
 	 * @param string $value text content for the textbox
97 97
 	 */
98
-	public function setText($value){
98
+	public function setText($value) {
99 99
 		if(parent::getText() === $value)
100 100
 			return;
101 101
 
102 102
 		parent::setText($value);
103
-		if($this->getActiveControl()->canUpdateClientSide() && $this->getHasLoadedPostData()){
103
+		if($this->getActiveControl()->canUpdateClientSide() && $this->getHasLoadedPostData()) {
104 104
 			$cb = $this->getPage()->getCallbackClient();
105 105
 			$cb->setValue($this, $value);
106
-			if ($this->getInputMode() == TDatePickerInputMode::DropDownList)
106
+			if($this->getInputMode() == TDatePickerInputMode::DropDownList)
107 107
 			{
108 108
 				$dt = new \DateTime;
109 109
 				$dt->setTimeStamp($this->getTimeStampFromText());
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
 	 * This method is mainly used by framework and control developers.
123 123
 	 * @param TCallbackEventParameter $param the event parameter
124 124
 	 */
125
-	public function raiseCallbackEvent($param){
125
+	public function raiseCallbackEvent($param) {
126 126
 		$this->onCallback($param);
127 127
 	}
128 128
 
@@ -133,7 +133,7 @@  discard block
 block discarded – undo
133 133
 	 * handler can be invoked.
134 134
 	 * @param TCallbackEventParameter $param event parameter to be passed to the event handlers
135 135
 	 */
136
-	public function onCallback($param){
136
+	public function onCallback($param) {
137 137
 		$this->raiseEvent('OnCallback', $this, $param);
138 138
 	}
139 139
 
Please login to merge, or discard this patch.