Skip to content

Commit 499e5dd

Browse files
committed
=== checking
1 parent db492ee commit 499e5dd

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

Ajax/Jquery.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ public function _compile(&$view=NULL, $view_var='script_foot', $script_tags=TRUE
247247
$script.='});';
248248

249249
$this->jquery_code_for_compile=array();
250-
if($this->params["debug"]==false){
250+
if($this->params["debug"]===false){
251251
$script=$this->minify($script);
252252
}
253253
$output=($script_tags===FALSE) ? $script : $this->inline($script);

Ajax/php/yii/JsUtils.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public function getUrl($url){
1313

1414
public function addViewElement($identifier,$content,&$view){
1515
$params=$view->params;
16-
if (\array_key_exists("q", $params)==false) {
16+
if (\array_key_exists("q", $params)===false) {
1717
$view->params["q"]=array();
1818
}
1919
$view->params["q"][$identifier]=$content;

Ajax/semantic/html/base/constants/icons/UserTypes.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44

55
use Ajax\common\BaseEnum;
66

7-
abstract class webContent extends BaseEnum {
7+
abstract class UserTypes extends BaseEnum {
88
const ANNOUNCEMENT="announcement", BIRTHDAY="birthday", FLAG="flag", HELP="help", HELP_CIRCLE="help circle", INFO="info", INFO_CIRCLE="info circle", WARNING="warning", WARNING_CIRCLE="warning circle", WARNING_SIGN="warning sign";
99
}

Ajax/semantic/html/collections/HtmlGrid.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,10 @@ protected function hasOnlyCols($count) {
140140
* @return \Ajax\semantic\html\collections\HtmlGrid
141141
*/
142142
public function setColsCount($numCols, $toCreate=true, $width=NULL) {
143-
if (isset($width)==false) {
143+
if (isset($width)===false) {
144144
$this->setWide($numCols);
145145
}
146-
if ($toCreate == true) {
146+
if ($toCreate === true) {
147147
$count=$this->count();
148148
if ($count == 0 || $this->hasOnlyCols($count)) {
149149
for($i=$count; $i < $numCols; $i++) {

Ajax/semantic/html/elements/HtmlLabel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class HtmlLabel extends HtmlSemDoubleElement {
1414
public function __construct($identifier, $caption="", $icon=NULL, $tagName="div") {
1515
parent::__construct($identifier, $tagName, "ui label");
1616
$this->content=$caption;
17-
if (isset($icon)===true)
17+
if (isset($icon))
1818
$this->addIcon($icon);
1919
}
2020

Ajax/semantic/html/modules/checkbox/AbstractCheckbox.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public function setReadonly() {
8383
* @return \Ajax\semantic\html\collections\form\AbstractHtmlFormRadioCheckbox
8484
*/
8585
public function attachEvent($selector, $action=NULL) {
86-
if (isset($action)!==false||\is_numeric($action)===true) {
86+
if (isset($action)||\is_numeric($action)===true) {
8787
$js='$("#%identifier%").checkbox("attach events", "'.$selector.'", "'.$action.'");';
8888
} else {
8989
$js='$("#%identifier%").checkbox("attach events", "'.$selector.'");';

0 commit comments

Comments
 (0)