Skip to content

Commit

Permalink
fixed typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias Franek committed Aug 31, 2018
1 parent 8b9c6e2 commit 7560285
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Client/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class Client extends JsonRpcClient {
* the logic which is used to create an Memcache instance
* @param string $method
* @param array $arguments
* @return self
* @return array
* @throws HttpException
*/
public function call(string $method, array $arguments = null) : array
Expand Down
2 changes: 1 addition & 1 deletion src/Models/ClassRegEvents.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class ClassRegEvents extends AbstractModel implements CachableModelInterface, Ad
/**
* Getter for student
*
* @return Webuntis\Models\AbstractModel
* @return AbstractModel
*/
public function getStudent() : AbstractModel
{
Expand Down
1 change: 1 addition & 0 deletions src/Repositories/ClassRegEventsRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

use Webuntis\Repositories\Repository;
use Webuntis\Query\Query;
use Webuntis\Exceptions\RepositoryException;

/**
* ClassRegEventsRepository
Expand Down
3 changes: 2 additions & 1 deletion src/Repositories/Repository.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
use Webuntis\Handler\Interfaces\ExecutionHandlerInterface;
use Webuntis\Models\AbstractModel;
use Webuntis\Webuntis;
use Doctrine\Common\Annotations\AnnotationRegistry;
use Webuntis\WebuntisFactory;
use Webuntis\CacheBuilder\CacheBuilder;

Expand Down Expand Up @@ -59,7 +60,7 @@ public function __construct(string $model, ExecutionHandlerInterface $executionH
$this->cache = $cacheBuilder->create();

$this->instance = WebuntisFactory::create($model);
\Doctrine\Common\Annotations\AnnotationRegistry::registerLoader('class_exists');
AnnotationRegistry::registerLoader('class_exists');
}

/**
Expand Down

0 comments on commit 7560285

Please sign in to comment.