Skip to content

Commit

Permalink
Coding Standard. Remove parensis from rernary pperator.
Browse files Browse the repository at this point in the history
  • Loading branch information
Yosuke Basuke Suzuki committed Oct 3, 2011
1 parent 1e3e605 commit 6383d45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/entity.php
Expand Up @@ -88,7 +88,7 @@ public function isEqual($other) {

public function save($fields = null) {
$Model = $this->getModel();
$Model->id = (isset($this->id) ? $this->id : null);
$Model->id = isset($this->id) ? $this->id : null;

if ($fields) {
foreach ((array) $fields as $field) {
Expand Down

0 comments on commit 6383d45

Please sign in to comment.