aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIvan Enderlin <ivan.enderlin@hoa-project.net>2014-10-06 15:52:12 +0200
committerIvan Enderlin <ivan.enderlin@hoa-project.net>2014-10-06 15:52:12 +0200
commit5919bcb01b6092de2b4a2eb34cc827d10bbe2c53 (patch)
tree82d78c8b78060225ff1c3b71d514f9ce47237559
parent8ea97808837bc2bb9abc7ee7cdb111c1a40c6c59 (diff)
downloadView-5919bcb01b6092de2b4a2eb34cc827d10bbe2c53.zip
View-5919bcb01b6092de2b4a2eb34cc827d10bbe2c53.tar.gz
View-5919bcb01b6092de2b4a2eb34cc827d10bbe2c53.tar.bz2
Remove from/import and update to PHP5.4.
-rw-r--r--Documentation/En/Index.xyl2
-rw-r--r--Documentation/Fr/Index.xyl2
-rw-r--r--Viewable.php4
3 files changed, 3 insertions, 5 deletions
diff --git a/Documentation/En/Index.xyl b/Documentation/En/Index.xyl
index 2030242..83ee80f 100644
--- a/Documentation/En/Index.xyl
+++ b/Documentation/En/Index.xyl
@@ -159,7 +159,7 @@ $superview = new SuperView('Out.phtml', $output, $router);
// Data.
$data = $superview->getData();
$data->title = 'foobar';
-$data->foo = (object) array('bar' => 'baz', 'qux' => 'hop');
+$data->foo = (object) ['bar' => 'baz', 'qux' => 'hop'];
// Render.
$superview->render();</code></pre>
diff --git a/Documentation/Fr/Index.xyl b/Documentation/Fr/Index.xyl
index 052a385..032872d 100644
--- a/Documentation/Fr/Index.xyl
+++ b/Documentation/Fr/Index.xyl
@@ -163,7 +163,7 @@ $superview = new SuperView('Out.phtml', $output, $router);
// Data.
$data = $superview->getData();
$data->title = 'foobar';
-$data->foo = (object) array('bar' => 'baz', 'qux' => 'hop');
+$data->foo = (object) ['bar' => 'baz', 'qux' => 'hop'];
// Render.
$superview->render();</code></pre>
diff --git a/Viewable.php b/Viewable.php
index dc5fc0b..e6386d3 100644
--- a/Viewable.php
+++ b/Viewable.php
@@ -34,7 +34,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-namespace Hoa\View {
+namespace Hoa\View;
/**
* Interface \Hoa\View\Viewable.
@@ -72,5 +72,3 @@ interface Viewable {
*/
public function getRouter ( );
}
-
-}