Skip to content

Commit

Permalink
Updating docs and adding scrutinizer config
Browse files Browse the repository at this point in the history
  • Loading branch information
wtfzdotnet committed Jan 19, 2014
1 parent 02ca249 commit 35a680b
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
imports:
- php

filter:
paths: [lib/*]
excluded_paths: [examples/*, lib/Model/*]
8 changes: 6 additions & 2 deletions lib/Tmdb/Factory/Common/GenericCollectionFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,19 @@

class GenericCollectionFactory {
/**
* {@inheritdoc}
* @param array $data
* @param $class
* @return GenericCollection
*/
public static function create(array $data = array(), $class)
{
return self::createCollection($data, $class);
}

/**
* {@inheritdoc}
* @param array $data
* @param $class
* @return GenericCollection
*/
public static function createCollection(array $data = array(), $class)
{
Expand Down
2 changes: 1 addition & 1 deletion lib/Tmdb/Model/Movie.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@

use Tmdb\Model\Common\Country;
use Tmdb\Model\Common\SpokenLanguage;
use Tmdb\Model\Common\Translation;
use Tmdb\Model\Movie\AlternativeTitle;
use Tmdb\Model\Movie\Keyword;
use Tmdb\Model\Movie\Release;
use Tmdb\Model\Movie\Translation;
use Tmdb\Model\Person\CastMember;
use Tmdb\Model\Person\CrewMember;

Expand Down
1 change: 0 additions & 1 deletion lib/Tmdb/Repository/ChangesRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
use Tmdb\Factory\MovieFactory;
use Tmdb\Factory\People\PeopleFactory;
use Tmdb\Model\Collection\People;
use Tmdb\Model\Common\GenericCollection;
use Tmdb\Model\Movie;
use Tmdb\Model\Query\ChangesQuery;

Expand Down

0 comments on commit 35a680b

Please sign in to comment.