From 5f833d33133c1a60f137e5d5ad8697edbe412a71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B3sthenes=20Neto?= Date: Mon, 21 Mar 2016 21:26:55 -0300 Subject: [PATCH] Fixing the operator in README's block of code --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b963517..193fcb2 100644 --- a/README.md +++ b/README.md @@ -62,7 +62,7 @@ $sName = A::get($post, 'user/basicInformation/name'); $sSurname = A::get($post, 'user/basicInformation/surname'); // with default value -$sLocale = A:get($post, 'user/locale', 'Europe/Dublin'); +$sLocale = A::get($post, 'user/locale', 'Europe/Dublin'); ``` @@ -75,7 +75,7 @@ $aUser = array(); $sName = $aUser['user']['basicInformation']['name'] = 'Mathias Grimm'; // =================================================================== -// ArrayPath +// ArrayPath $aUser = array(); $sName = A::set($aUser, 'user/basicInformation/name', 'Mathias'); ``` @@ -100,7 +100,7 @@ if (array_key_exists('user', (array) $aUser)) { // =================================================================== -// ArrayPath +// ArrayPath $bExists = A::exists($aUser, 'user/basicInformation/name'); ``` @@ -119,7 +119,7 @@ if (isset($aUser['user']['basicInformation']['name'])) { $sName = A::remove($aUser, 'user/basicInformation/name'); ``` -Example 5 (Using a custom separator) +Example 5 (Using a custom separator) ------------------------------------ ```php