Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fdd7a1e

Browse files
committed
Merge pull request laravel#3964 from GrahamCampbell/4.1-docblocks
Fixed Docblocks
2 parents 2904878 + e51cb32 commit fdd7a1e

6 files changed

Lines changed: 11 additions & 0 deletions

File tree

src/Illuminate/Container/Container.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -614,6 +614,7 @@ protected function resolveClass(ReflectionParameter $parameter)
614614
* @param array $dependencies
615615
* @param array $parameters
616616
* @param array
617+
* @return array
617618
*/
618619
protected function keyParametersByArgument(array $dependencies, array $parameters)
619620
{

src/Illuminate/Database/Eloquent/Model.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2307,6 +2307,8 @@ protected function getAttributeFromArray($key)
23072307
* @param string $key
23082308
* @param string $camelKey
23092309
* @return mixed
2310+
*
2311+
* @throws \LogicException
23102312
*/
23112313
protected function getRelationshipFromMethod($key, $camelKey)
23122314
{

src/Illuminate/Http/Request.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -514,6 +514,8 @@ public static function createFromBase(SymfonyRequest $request)
514514
* Get the session associated with the request.
515515
*
516516
* @return \Illuminate\Session\Store
517+
*
518+
* @throws \RuntimeException
517519
*/
518520
public function session()
519521
{

src/Illuminate/Remote/Connection.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,8 @@ public function status()
232232
* Get the gateway implementation.
233233
*
234234
* @return \Illuminate\Remote\GatewayInterface
235+
*
236+
* @throws \RuntimeException
235237
*/
236238
public function getGateway()
237239
{

src/Illuminate/Routing/Controller.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,8 @@ public function missingMethod($parameters = array())
260260
* @param string $method
261261
* @param array $parameters
262262
* @return mixed
263+
*
264+
* @throws \BadMethodCallException
263265
*/
264266
public function __call($method, $parameters)
265267
{

src/Illuminate/Support/helpers.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -557,6 +557,8 @@ function csrf_token()
557557
* @param string $key
558558
* @param mixed $default
559559
* @return mixed
560+
*
561+
* @throws \InvalidArgumentException
560562
*/
561563
function data_get($target, $key, $default = null)
562564
{

0 commit comments

Comments
 (0)