Commit 21402fc7 by Nobuo Kihara

docs/internals-ja/core-code-style.md - updated [ci skip]

parent 560ad04e
...@@ -250,11 +250,11 @@ $config = [ ...@@ -250,11 +250,11 @@ $config = [
```php ```php
if ($event === null) { if ($event === null) {
return new Event(); return new Event();
} elseif ($event instanceof CoolEvent) { }
if ($event instanceof CoolEvent) {
return $event->instance(); return $event->instance();
} else {
return null;
} }
return null;
// 下記は許容されません: // 下記は許容されません:
if (!$model && null === $event) if (!$model && null === $event)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment