Skip to content

Commit

Permalink
Merge pull request #35 from swordbeta/fix-typos
Browse files Browse the repository at this point in the history
Fix typos in exceptions.
  • Loading branch information
ins0 authored Jan 18, 2017
2 parents 2b3aef2 + 5227efb commit 415cabc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/Racecore/GATracking/Tracking/Event.php
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,11 @@ public function getEventValue()
public function createPackage()
{
if (!$this->getEventCategory()) {
throw new MissingTrackingParameterException('event category musst be set');
throw new MissingTrackingParameterException('event category must be set');
}

if (!$this->getEventAction()) {
throw new MissingTrackingParameterException('event action musst be set');
throw new MissingTrackingParameterException('event action must be set');
}

return array(
Expand Down
6 changes: 3 additions & 3 deletions src/Racecore/GATracking/Tracking/Social.php
Original file line number Diff line number Diff line change
Expand Up @@ -106,15 +106,15 @@ public function getSocialTarget()
public function createPackage()
{
if (!$this->getSocialAction()) {
throw new MissingTrackingParameterException('social action musst be set');
throw new MissingTrackingParameterException('social action must be set');
}

if (!$this->getSocialNetwork()) {
throw new MissingTrackingParameterException('social network musst be set');
throw new MissingTrackingParameterException('social network must be set');
}

if (!$this->getSocialTarget()) {
throw new MissingTrackingParameterException('social target musst be set');
throw new MissingTrackingParameterException('social target must be set');
}

return array(
Expand Down

0 comments on commit 415cabc

Please sign in to comment.