Completed
Push — master ( a10a55...64f053 )
by Oscar
02:51
created
src/Providers/Middlewares.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -10,9 +10,9 @@  discard block
 block discarded – undo
10 10
 {
11 11
     public function register(Fol $app)
12 12
     {
13
-        $app['middlewares'] = function ($app) {
13
+        $app['middlewares'] = function($app) {
14 14
             return [
15
-                Middleware::create(function () use ($app) {
15
+                Middleware::create(function() use ($app) {
16 16
                     if ($app->has('users')) {
17 17
                         return Middleware::DigestAuthentication($app['users']);
18 18
                     }
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
                     return false;
21 21
                 }),
22 22
 
23
-                Middleware::create(function () use ($app) {
23
+                Middleware::create(function() use ($app) {
24 24
                     if ($app->has('cache')) {
25 25
                         return Middleware::cache($app['cache']);
26 26
                     }
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
                     ->arguments($app)
33 33
                     ->catchExceptions(),
34 34
 
35
-                Middleware::create(function () {
35
+                Middleware::create(function() {
36 36
                     return class_exists('Whoops\\Run') ? Middleware::whoops() : false;
37 37
                 }),
38 38
 
Please login to merge, or discard this patch.
src/templates/pages/search.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -47,10 +47,13 @@
 block discarded – undo
47 47
 			</footer>
48 48
 		<?php endif; ?>
49 49
 
50
-		<?php else: ?>
50
+		<?php else {
51
+    : ?>
51 52
 		<div class="page-list-noresults">
52 53
 			<p>No items found</p>
53 54
 		</div>
54
-		<?php endif; ?>
55
+		<?php endif;
56
+}
57
+?>
55 58
 	</div>
56 59
 </article>
Please login to merge, or discard this patch.