Skip to content

Firefly III: a personal finances manager

Removed debug logic and bad operators.

James Cole907933f3dfeb
diff --git a/app/Http/Controllers/BillController.php b/app/Http/Controllers/BillController.php
index f53bd43785..457b20bdb1 100644
--- a/app/Http/Controllers/BillController.php
+++ b/app/Http/Controllers/BillController.php
@@ -157,8 +157,6 @@ class BillController extends Controller
public function store(BillFormRequest $request, BillRepositoryInterface $repository)
{
- var_dump($request->all());
-
$billData = [
'name' => $request->get('name'),
'match' => $request->get('match'),
diff --git a/server.php b/server.php
index 8f37587762..c6499cf326 100644
--- a/server.php
+++ b/server.php
@@ -7,15 +7,14 @@
*/
$uri = urldecode(
- parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)
+ parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)
);
// This file allows us to emulate Apache's "mod_rewrite" functionality from the
// built-in PHP web server. This provides a convenient way to test a Laravel
// application without having installed a "real" web server software here.
-if ($uri !== '/' and file_exists(__DIR__.'/public'.$uri))
-{
- return false;
+if ($uri !== '/' && file_exists(__DIR__ . '/public' . $uri)) {
+ return false;
}
-require_once __DIR__.'/public/index.php';
+require_once __DIR__ . '/public/index.php';