Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Merge pull request zendframework/zendframework#2101 from pborreli/typos
Browse files Browse the repository at this point in the history
Fixed few typos
  • Loading branch information
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions src/Decoder.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class Decoder
protected $sourceLength;

/**
* The offset within the souce being decoded
* The offset within the source being decoded
*
* @var int
*
Expand Down Expand Up @@ -140,7 +140,7 @@ public static function decode($source, $objectDecodeType = Json::TYPE_OBJECT)
}

/**
* Recursive driving rountine for supported toplevel tops
* Recursive driving routine for supported toplevel tops
*
* @return mixed
*/
Expand Down Expand Up @@ -267,7 +267,7 @@ protected function _decodeArray()


/**
* Removes whitepsace characters from the source input
* Removes whitespace characters from the source input
*/
protected function _eatWhitespace()
{
Expand Down Expand Up @@ -520,7 +520,7 @@ public static function decodeUnicodeString($chrs)
*
* Normally should be handled by mb_convert_encoding, but
* provides a slower PHP-only method for installations
* that lack the multibye string extension.
* that lack the multibyte string extension.
*
* This method is from the Solar Framework by Paul M. Jones
*
Expand Down
2 changes: 1 addition & 1 deletion src/Encoder.php
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ public static function encodeUnicodeString($value)
*
* Normally should be handled by mb_convert_encoding, but
* provides a slower PHP-only method for installations
* that lack the multibye string extension.
* that lack the multibyte string extension.
*
* This method is from the Solar Framework by Paul M. Jones
*
Expand Down
6 changes: 3 additions & 3 deletions src/Json.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public static function encode($valueToEncode, $cycleCheck = false, $options = ar
$encodedResult = Encoder::encode($valueToEncode, $cycleCheck, $options);
}

//only do post-proccessing to revert back the Zend_Json_Expr if any.
//only do post-processing to revert back the Zend_Json_Expr if any.
if (count($javascriptExpressions) > 0) {
$count = count($javascriptExpressions);
for($i = 0; $i < $count; $i++) {
Expand Down Expand Up @@ -188,7 +188,7 @@ protected static function _recursiveJsonExprFinder(
* the XML tags
*
* In order to allow Zend_Json_Expr from xml, we check if the node
* matchs the pattern that try to detect if it is a new Zend_Json_Expr
* matches the pattern that try to detect if it is a new Zend_Json_Expr
* if it matches, we return a new Zend_Json_Expr instead of a text node
*
* @param SimpleXMLElement $simpleXmlElementObject
Expand Down Expand Up @@ -298,7 +298,7 @@ protected static function _processXml($simpleXmlElementObject, $ignoreXmlAttribu
*
* This function converts the XML formatted string into a PHP array by
* calling a recursive (protected static) function in this class. Then, it
* converts that PHP array into JSON by calling the "encode" static funcion.
* converts that PHP array into JSON by calling the "encode" static function.
*
* NOTE: Encoding native javascript expressions via Zend_Json_Expr is not possible.
*
Expand Down
2 changes: 1 addition & 1 deletion src/Server/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public function doRequest($request)
* @param string $method Name of the method we want to call.
* @param array $params Array of parameters for the method.
* @return mixed Method call results.
* @throws Exception\ErrorExceptionn When remote call fails.
* @throws Exception\ErrorException When remote call fails.
*/
public function call($method, $params = array())
{
Expand Down
2 changes: 1 addition & 1 deletion src/Server/Smd.php
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ class Smd
protected $id;

/**
* Services offerred
* Services offered
* @var array
*/
protected $services = array();
Expand Down

0 comments on commit b44331a

Please sign in to comment.