Skip to content

Commit e336755

Browse files
author
Alexandra Nantel
committed
SQL and PHP cases
PHP true,false,null in lowercase SQL keywords uppercase
1 parent f6c911b commit e336755

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

extension.driver.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public function uninstall() {
9494
* @param string $previousVersion
9595
* @return boolean
9696
*/
97-
public function update($previousVersion=false) {
97+
public function update($previousVersion = false) {
9898
// Column length:
9999
if ($this->updateHasColumn('show_full')) {
100100
$this->updateRemoveColumn('show_full');
@@ -359,4 +359,4 @@ public function updateRenameColumn($from, $to, $table = self::FIELD_TABLE) {
359359
$data['Type'] . ' ' . $type
360360
));
361361
}
362-
}
362+
}

fields/field.textbox.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -629,7 +629,7 @@ public function prepareTableValue($data, XMLElement $link = null, $entry_id = nu
629629
return $value;
630630
}
631631

632-
public function getParameterPoolValue(array $data, $entry_id=NULL){
632+
public function getParameterPoolValue(array $data, $entry_id = null){
633633
if ($this->get('text_handle') != 'yes') {
634634
return $data['value'];
635635
}

0 commit comments

Comments
 (0)