Skip to content
This repository was archived by the owner on Jan 1, 2020. It is now read-only.

Commit 7e7597f

Browse files
committed
added missing spaces after closing parentheses
1 parent 0f574ca commit 7e7597f

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

module/Application/view/error/404.phtml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<h1>A 404 error occurred</h1>
22
<h2><?= $this->message ?></h2>
33

4-
<?php if (!empty($this->reason)): ?>
4+
<?php if (!empty($this->reason)) : ?>
55
<?php
66
switch ($this->reason) {
77
case \Zend\Mvc\Application::ERROR_CONTROLLER_CANNOT_DISPATCH:
@@ -27,7 +27,7 @@
2727
<p><?= $reasonMessage ?></p>
2828
<?php endif ?>
2929

30-
<?php if (isset($this->controller) && $this->controller): ?>
30+
<?php if (isset($this->controller) && $this->controller) : ?>
3131
<dl>
3232
<dt>Controller:</dt>
3333
<dd>
@@ -44,8 +44,8 @@
4444
</dl>
4545
<?php endif ?>
4646

47-
<?php if (isset($this->display_exceptions) && $this->display_exceptions): ?>
48-
<?php if (isset($this->exception) && ($this->exception instanceof \Exception || $this->exception instanceof \Error)): ?>
47+
<?php if (isset($this->display_exceptions) && $this->display_exceptions) : ?>
48+
<?php if (isset($this->exception) && ($this->exception instanceof \Exception || $this->exception instanceof \Error)) : ?>
4949
<hr/>
5050

5151
<h2>Additional information:</h2>
@@ -65,13 +65,13 @@
6565
</dd>
6666
</dl>
6767

68-
<?php if ($ex = $this->exception->getPrevious()): ?>
68+
<?php if ($ex = $this->exception->getPrevious()) : ?>
6969
<hr/>
7070

7171
<h2>Previous exceptions:</h2>
7272
<ul class="list-unstyled">
7373
<?php $icount = 0; ?>
74-
<?php while ($ex): ?>
74+
<?php while ($ex) : ?>
7575
<li>
7676
<h3><?= get_class($ex) ?></h3>
7777
<dl>

module/Application/view/error/index.phtml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<h1>An error occurred</h1>
22
<h2><?= $this->message ?></h2>
33

4-
<?php if (isset($this->display_exceptions) && $this->display_exceptions): ?>
5-
<?php if (isset($this->exception) && ($this->exception instanceof \Exception || $this->exception instanceof \Error)): ?>
4+
<?php if (isset($this->display_exceptions) && $this->display_exceptions) : ?>
5+
<?php if (isset($this->exception) && ($this->exception instanceof \Exception || $this->exception instanceof \Error)) : ?>
66
<hr/>
77

88
<h2>Additional information:</h2>
@@ -22,13 +22,13 @@
2222
</dd>
2323
</dl>
2424

25-
<?php if ($ex = $this->exception->getPrevious()): ?>
25+
<?php if ($ex = $this->exception->getPrevious()) : ?>
2626
<hr/>
2727

2828
<h2>Previous exceptions:</h2>
2929
<ul class="list-unstyled">
3030
<?php $icount = 0; ?>
31-
<?php while ($ex): ?>
31+
<?php while ($ex) : ?>
3232
<li>
3333
<h3><?= get_class($ex) ?></h3>
3434
<dl>

0 commit comments

Comments
 (0)