Skip to content

Commit

Permalink
Fixing docblocks
Browse files Browse the repository at this point in the history
  • Loading branch information
wtfzdotnet committed Feb 5, 2014
1 parent d24e6d1 commit 20efc1c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/Tmdb/Factory/CollectionFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
*/
namespace Tmdb\Factory;

use Tmdb\Model\Collection;
use Tmdb\Model\Common\GenericCollection;

class CollectionFactory extends AbstractFactory
Expand Down Expand Up @@ -41,7 +42,7 @@ public function __construct()
*/
public function create(array $data = array())
{
$collection = new \Tmdb\Model\Collection();
$collection = new Collection();

if (array_key_exists('parts', $data)) {
$collection->setParts(
Expand Down
2 changes: 1 addition & 1 deletion lib/Tmdb/Factory/ImageFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function create(array $data = array(), $key = null)
*
* @param $path
* @param string $key
* @return Image
* @return Image|Image\BackdropImage|Image\LogoImage|Image\PosterImage|Image\ProfileImage|Image\StillImage
*/
public function createFromPath($path, $key)
{
Expand Down

0 comments on commit 20efc1c

Please sign in to comment.