@@ -61,7 +61,7 @@ class Facebook
6161 const APP_SECRET_ENV_NAME = 'FACEBOOK_APP_SECRET ' ;
6262
6363 /**
64- * @var Application the FacebookApp entity
64+ * @var Application the App entity
6565 */
6666 protected $ app ;
6767
@@ -150,7 +150,7 @@ public function __construct(array $config = [])
150150 }
151151
152152 /**
153- * Returns the FacebookApp entity.
153+ * Returns the App entity.
154154 *
155155 * @return Application
156156 */
@@ -160,7 +160,7 @@ public function getApp()
160160 }
161161
162162 /**
163- * Returns the FacebookClient service.
163+ * Returns the Client service.
164164 *
165165 * @return Client
166166 */
@@ -480,20 +480,20 @@ public function sendBatchRequest(array $requests, $accessToken = null, $graphVer
480480 }
481481
482482 /**
483- * Instantiates an empty FacebookBatchRequest entity.
483+ * Instantiates an empty BatchRequest entity.
484484 *
485485 * @param null|AccessToken|string $accessToken The top-level access token. Requests with no access token
486486 * will fallback to this.
487487 * @param null|string $graphVersion the Graph API version to use
488488 *
489- * @return FacebookBatchRequest
489+ * @return BatchRequest
490490 */
491491 public function newBatchRequest ($ accessToken = null , $ graphVersion = null )
492492 {
493493 $ accessToken = $ accessToken ?: $ this ->defaultAccessToken ;
494494 $ graphVersion = $ graphVersion ?: $ this ->defaultGraphVersion ;
495495
496- return new FacebookBatchRequest (
496+ return new BatchRequest (
497497 $ this ->app ,
498498 [],
499499 $ accessToken ,
@@ -502,7 +502,7 @@ public function newBatchRequest($accessToken = null, $graphVersion = null)
502502 }
503503
504504 /**
505- * Instantiates a new FacebookRequest entity.
505+ * Instantiates a new Request entity.
506506 *
507507 * @param string $method
508508 * @param string $endpoint
@@ -532,7 +532,7 @@ public function request($method, $endpoint, array $params = [], $accessToken = n
532532 }
533533
534534 /**
535- * Factory to create FacebookFile 's.
535+ * Factory to create File 's.
536536 *
537537 * @param string $pathToFile
538538 *
@@ -546,7 +546,7 @@ public function fileToUpload($pathToFile)
546546 }
547547
548548 /**
549- * Factory to create FacebookVideo 's.
549+ * Factory to create Video 's.
550550 *
551551 * @param string $pathToFile
552552 *
0 commit comments