Skip to content
Permalink
Browse files

Fix up doc blocks for JsonType.

  • Loading branch information...
markstory committed Mar 21, 2016
1 parent fa77aa6 commit 529b36fb4fcbc03a0606e93e25d2aa672b150780
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/Database/Type/JsonType.php
@@ -29,7 +29,7 @@ class JsonType extends Type
{
/**
* Convert a value data into a json string
* Convert a value data into a JSON string
*
* @param mixed $value The value to convert.
* @param \Cake\Database\Driver $driver The driver instance to convert with.
@@ -45,7 +45,7 @@ public function toDatabase($value, Driver $driver)
}
/**
* Convert string values to PHP strings.
* Convert string values to PHP arrays.
*
* @param mixed $value The value to convert.
* @param \Cake\Database\Driver $driver The driver instance to convert with.
@@ -69,7 +69,7 @@ public function toStatement($value, Driver $driver)
}
/**
* Marshalls request data into PHP strings.
* Marshalls request data into a JSON compatible structure.
*
* @param mixed $value The value to convert.
* @return mixed Converted value.

0 comments on commit 529b36f

Please sign in to comment.
You can’t perform that action at this time.