Skip to content
This repository has been archived by the owner on Jan 31, 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
Maks3w committed Aug 3, 2012
4 parents 3a1f2fd + 0cab32d + 69d1518 + e31fd5a commit e20c9e6
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 20 deletions.
12 changes: 6 additions & 6 deletions src/Helper/Gravatar.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ class Gravatar extends AbstractHtmlElement
);

/**
* Email Adress
* Email Address
*
* @var string
*/
Expand All @@ -77,13 +77,13 @@ class Gravatar extends AbstractHtmlElement
*
* $options may include the following:
* - 'img_size' int height of img to return
* - 'default_img' string img to return if email adress has not found
* - 'default_img' string img to return if email address has not found
* - 'rating' string rating parameter for avatar
* - 'secure' bool load from the SSL or Non-SSL location
*
* @see http://pl.gravatar.com/site/implement/url
* @see http://pl.gravatar.com/site/implement/url More information about gravatar's service.
* @param string|null $email Email adress.
* @param string|null $email Email address.
* @param null|array $options Options
* @param array $attribs Attributes for image tag (title, alt etc.)
* @return Zend\View\Helper\Gravatar
Expand Down Expand Up @@ -204,7 +204,7 @@ public function getRating()
}

/**
* Set email adress
* Set email address
*
* @param string $email
* @return Gravatar
Expand All @@ -216,7 +216,7 @@ public function setEmail( $email )
}

/**
* Get email adress
* Get email address
*
* @return string
*/
Expand Down Expand Up @@ -292,7 +292,7 @@ protected function getGravatarUrl()
}

/**
* Get avatar url (including size, rating and default image oprions)
* Get avatar url (including size, rating and default image options)
*
* @return string
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Helper/HeadLink.php
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ public function createData(array $attributes)
* Create item for stylesheet link item
*
* @param array $args
* @return stdClass|false Returns fals if stylesheet is a duplicate
* @return stdClass|false Returns false if stylesheet is a duplicate
*/
public function createDataStylesheet(array $args)
{
Expand Down
6 changes: 3 additions & 3 deletions src/Helper/HeadMeta.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public function __invoke($content = null, $keyValue = null, $keyType = 'name', $
}

/**
* Normalize type attribut of meta
* Normalize type attribute of meta
*
* @param $type type in CamelCase
* @return string
Expand Down Expand Up @@ -107,11 +107,11 @@ protected function normalizeType($type)
*
* Allows the following 'virtual' methods:
* - appendName($keyValue, $content, $modifiers = array())
* - offsetGetName($index, $keyValue, $content, $modifers = array())
* - offsetGetName($index, $keyValue, $content, $modifiers = array())
* - prependName($keyValue, $content, $modifiers = array())
* - setName($keyValue, $content, $modifiers = array())
* - appendHttpEquiv($keyValue, $content, $modifiers = array())
* - offsetGetHttpEquiv($index, $keyValue, $content, $modifers = array())
* - offsetGetHttpEquiv($index, $keyValue, $content, $modifiers = array())
* - prependHttpEquiv($keyValue, $content, $modifiers = array())
* - setHttpEquiv($keyValue, $content, $modifiers = array())
* - appendProperty($keyValue, $content, $modifiers = array())
Expand Down
2 changes: 1 addition & 1 deletion src/Helper/HeadScript.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
class HeadScript extends Placeholder\Container\AbstractStandalone
{
/**#@+
* Script type contants
* Script type constants
* @const string
*/
const FILE = 'FILE';
Expand Down
2 changes: 1 addition & 1 deletion src/Helper/Navigation/AbstractHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ abstract class AbstractHelper extends View\Helper\AbstractHtmlElement implements
protected $acl;

/**
* Wheter invisible items should be rendered by this helper
* Whether invisible items should be rendered by this helper
*
* @var bool
*/
Expand Down
4 changes: 2 additions & 2 deletions src/Helper/Navigation/Menu.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ protected function normalizeOptions(array $options = array())
// Render methods:

/**
* Renders the deepest active menu within [$minDepth, $maxDeth], (called
* Renders the deepest active menu within [$minDepth, $maxDepth], (called
* from {@link renderMenu()})
*
* @param AbstractContainer $container container to render
Expand Down Expand Up @@ -407,7 +407,7 @@ protected function renderNormalMenu(AbstractContainer $container,
$depth = $iterator->getDepth();
$isActive = $page->isActive(true);
if ($depth < $minDepth || !$this->accept($page)) {
// page is below minDepth or not accepted by acl/visibilty
// page is below minDepth or not accepted by acl/visibility
continue;
} elseif ($onlyActive && !$isActive) {
// page is not active itself, but might be in the active branch
Expand Down
2 changes: 1 addition & 1 deletion src/Helper/Navigation/Sitemap.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public function getFormatOutput()
/**
* Sets whether the XML declaration should be used in output
*
* @param bool $useXmlDecl whether XML delcaration should be rendered
* @param bool $useXmlDecl whether XML declaration should be rendered
* @returnSitemap fluent interface, returns self
*/
public function setUseXmlDeclaration($useXmlDecl)
Expand Down
6 changes: 3 additions & 3 deletions src/Helper/Placeholder/Container/AbstractStandalone.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
use Zend\View\Helper\Placeholder\Registry;

/**
* Base class for targetted placeholder helpers
* Base class for targeted placeholder helpers
*
* @package Zend_View
* @subpackage Helper
Expand All @@ -40,8 +40,8 @@ abstract class AbstractStandalone
protected $regKey;

/**
* Flag wheter to automatically escape output, must also be
* enforced in the child class if __toString/toString is overriden
* Flag whether to automatically escape output, must also be
* enforced in the child class if __toString/toString is overridden
* @var book
*/
protected $autoEscape = true;
Expand Down
2 changes: 1 addition & 1 deletion test/Helper/HeadStyleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ public function testMediaAttributeAsArray()

}

public function testMediaAttributeAsCommaSeperatedString()
public function testMediaAttributeAsCommaSeparatedString()
{
$this->helper->setIndent(4);
$this->helper->appendStyle('
Expand Down
2 changes: 1 addition & 1 deletion test/PhpRendererTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ public function testCanSpecifyArrayForVarsAndGetAlwaysArrayObject()
/**
* @group ZF2-68
*/
public function testPassingVariablesObjectToSetVarsShouldUseItDirectoy()
public function testPassingVariablesObjectToSetVarsShouldUseItDirectory()
{
$vars = new Variables(array('foo' => '<p>Bar</p>'));
$this->renderer->setVars($vars);
Expand Down

0 comments on commit e20c9e6

Please sign in to comment.