mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13:15 +00:00
Fix CS
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
require_once __DIR__ . "/../../../classes/DailymotionWithoutOauth2.php";
|
||||
|
||||
use \Symfony\Component\HttpFoundation\Request;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -194,7 +194,7 @@ class Bridge_Api_Dailymotion extends Bridge_Api_Abstract implements Bridge_Api_I
|
||||
{
|
||||
return array(self::CONTAINER_TYPE_PLAYLIST => _('Playlists'));
|
||||
}
|
||||
|
||||
|
||||
public function get_oauth_token()
|
||||
{
|
||||
return $this->oauth_token;
|
||||
@@ -203,10 +203,10 @@ class Bridge_Api_Dailymotion extends Bridge_Api_Abstract implements Bridge_Api_I
|
||||
public function set_oauth_token($oauth_token)
|
||||
{
|
||||
$this->oauth_token = $oauth_token;
|
||||
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* @param string $type
|
||||
|
@@ -9,7 +9,7 @@
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
use \Symfony\Component\HttpFoundation\Request;
|
||||
use Symfony\Component\HttpFoundation\Request;
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -726,7 +726,7 @@ class Bridge_Api_Youtube extends Bridge_Api_Abstract implements Bridge_Api_Inter
|
||||
if (false === $cxml = simplexml_load_file($url_cat)) {
|
||||
throw new Bridge_Exception_ApiConnectorRequestFailed('Failed to retrive youtube categories');
|
||||
}
|
||||
|
||||
|
||||
$cxml->registerXPathNamespace('atom', 'http://www.w3.org/2005/Atom');
|
||||
$categories = $cxml->xpath('//atom:category');
|
||||
|
||||
|
Reference in New Issue
Block a user