Page MenuHomeDevCentral

D419.diff
No OneTemporary

D419.diff

diff --git a/app/Console/Commands/AccountReset.php b/app/Console/Commands/AccountReset.php
--- a/app/Console/Commands/AccountReset.php
+++ b/app/Console/Commands/AccountReset.php
@@ -81,7 +81,7 @@
return false;
default:
- throw new Exception("Unhandled password broker response: " . $response);
+ throw new \Exception("Unhandled password broker response: " . $response);
}
}
diff --git a/app/Console/Commands/DatabaseShell.php b/app/Console/Commands/DatabaseShell.php
--- a/app/Console/Commands/DatabaseShell.php
+++ b/app/Console/Commands/DatabaseShell.php
@@ -180,7 +180,7 @@
);
if (!is_resource($proc)) {
- throw new Exception('Failed to passthru a command');
+ throw new \Exception('Failed to passthru a command');
}
proc_close($proc);
diff --git a/app/Http/Middleware/TrustProxy.php b/app/Http/Middleware/TrustProxy.php
--- a/app/Http/Middleware/TrustProxy.php
+++ b/app/Http/Middleware/TrustProxy.php
@@ -35,7 +35,7 @@
break;
default:
- throw new ArgumentException("Unhandled configuration mode: $mode");
+ throw new \ArgumentException("Unhandled configuration mode: $mode");
}
return $next($request);

File Metadata

Mime Type
text/plain
Expires
Mon, Feb 3, 04:32 (21 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2392377
Default Alt Text
D419.diff (1 KB)

Event Timeline