From 3dc42c65cfb143b2a2199020bb82c61af569f0cc Mon Sep 17 00:00:00 2001 From: Timothy Warren Date: Thu, 5 Apr 2012 12:48:10 -0400 Subject: [PATCH] Switch arrays to short syntax --- README.md | 2 +- src/app/config/db.php | 8 ++++---- src/sys/miniMVC.php | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 661ad44..59c1db8 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ miniMVC is a minimalistic Modular MVC framework, with built-in minifier, and pure-PHP templating system. ### Requirements -* PHP 5.2+ (5.4+ for trait branch) +* PHP 5.4+ * PDO extensions for databases you wish to use * Webserver that correctly handles PATH_INFO, such as: * Apache diff --git a/src/app/config/db.php b/src/app/config/db.php index a11a2e4..3cb390a 100644 --- a/src/app/config/db.php +++ b/src/app/config/db.php @@ -12,8 +12,8 @@ // -------------------------------------------------------------------------- -$db_conf = array( - 'default' => array( +$db_conf = [ + 'default' => [ 'type' => '', 'host' => '', 'user' => '', @@ -21,5 +21,5 @@ $db_conf = array( 'db' => '', 'prefix' => '', 'persist' => '', - ) -); \ No newline at end of file + ] +]; \ No newline at end of file diff --git a/src/sys/miniMVC.php b/src/sys/miniMVC.php index e213e54..6d41ff8 100644 --- a/src/sys/miniMVC.php +++ b/src/sys/miniMVC.php @@ -13,7 +13,7 @@ // -------------------------------------------------------------------------- /** - * Parent class of base class, contains much of the magic + * Parent trait of base class, contains much of the magic */ trait JSObject {