Skip to content

Commit

Permalink
Merge pull request aws#466 from xterr/patch-1
Browse files Browse the repository at this point in the history
Update Marshaler.php
  • Loading branch information
jeremeamia committed Jan 27, 2015
2 parents eddf898 + a1d5b42 commit f5c2abf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Aws/DynamoDb/Marshaler.php
Expand Up @@ -52,7 +52,7 @@ public function marshalItem($item)
* @return array Formatted like `array(TYPE => VALUE)`.
* @throws \UnexpectedValueException if the value cannot be marshaled.
*/
private function marshalValue($value)
public function marshalValue($value)
{
$type = gettype($value);
if ($type === 'string' && $value !== '') {
Expand Down Expand Up @@ -132,7 +132,7 @@ public function unmarshalItem(array $data)
* @return mixed
* @throws \UnexpectedValueException
*/
private function unmarshalValue(array $value, $mapAsObject = false)
public function unmarshalValue(array $value, $mapAsObject = false)
{
list($type, $value) = each($value);
switch ($type) {
Expand Down

0 comments on commit f5c2abf

Please sign in to comment.