8000 Update PHPDocs for IDE support. by PATROMO · Pull Request #72 · laravel/framework · GitHub
[go: up one dir, main page]

Skip to content

Update PHPDocs for IDE support. #72

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update PHPDocs for IDE support.
  • Loading branch information
PATROMO committed Jan 17, 2013
commit 7a97504cb147b24fc6cdf29219165c3440b39d4c
20 changes: 10 additions & 10 deletions src/Illuminate/Http/RedirectResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ class RedirectResponse extends \Symfony\Component\HttpFoundation\RedirectRespons
/**
* The request instance.
*
* @var Illuminate\Http\Request
* @var \Illuminate\Http\Request
*/
protected $request;

/**
* The session store implementation.
*
* @var Illuminate\Session\Store
* @var \Illuminate\Session\Store
*/
protected $session;

Expand All @@ -25,7 +25,7 @@ class RedirectResponse extends \Symfony\Component\HttpFoundation\RedirectRespons
*
* @param string $key
* @param mixed $value
* @return Illuminate\Http\RedirectResponse
* @return \Illuminate\Http\RedirectResponse
*/
public function with($key, $value)
{
Expand All @@ -37,8 +37,8 @@ public function with($key, $value)
/**
* Add a cookie to the response.
*
* @param Symfony\Component\HttpFoundation\Cookie $cookie
* @return Illuminate\Http\Response
* @param \Symfony\Component\HttpFoundation\Cookie $cookie
* @return \Illuminate\Http\Response
*/
public function withCookie(Cookie $cookie)
{
Expand Down Expand Up @@ -87,7 +87,7 @@ public function exceptInput()
/**
* Flash a container of errors to the session.
*
* @param Illuminate\Support\Contracts\MessageProviderInterface|array $provider
* @param \Illuminate\Support\Contracts\MessageProviderInterface|array $provider
* @return void
*/
public function withErrors($provider)
Expand All @@ -107,7 +107,7 @@ public function withErrors($provider)
/**
* Get the request instance.
*
* @return Illuminate\Http\Request
* @return \Illuminate\Http\Request
*/
public function getRequest()
{
Expand All @@ -117,7 +117,7 @@ public function getRequest()
/**
* Set the request instance.
*
* @param Illuminate\Http\Request $request
* @param \Illuminate\Http\Request $request
* @return void
*/
public function setRequest(Request $request)
Expand All @@ -128,7 +128,7 @@ public function setRequest(Request $request)
/**
* Get the session store implementation.
*
* @return Illuminate\Session\Store
* @return \Illuminate\Session\Store
*/
public function getSession()
{
Expand All @@ -138,7 +138,7 @@ public function getSession()
/**
* Set the session store implementation.
*
* @param Illuminate\Session\Store $store
* @param \Illuminate\Session\Store $store
* @return void
*/
public function setSession(SessionStore $session)
Expand Down
12 changes: 6 additions & 6 deletions src/Illuminate/Http/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@ class Request extends \Symfony\Component\HttpFoundation\Request {
/**
* The Illuminate session store implementation.
*
* @var Illuminate\Session\Store
* @var \Illuminate\Session\Store
*/
protected $sessionStore;

/**
* Return the Request instance.
*
* @return Illuminate\Http\Request
* @return \Illuminate\Http\Request
*/
public function instance()
{
Expand Down Expand Up @@ -202,7 +202,7 @@ public function cookie($key = null, $default = null)
*
* @param string $key
* @param mixed $default
* @return Symfony\Component\HttpFoundation\File\UploadedFile
* @return \Symfony\Component\HttpFoundation\File\UploadedFile
*/
public function file($key = null, $default = null)
{
Expand Down Expand Up @@ -361,7 +361,7 @@ public function json()
/**
* Get the input source for the request.
*
* @return Symfony\Component\HttpFoundation\ParameterBag
* @return \Symfony\Component\HttpFoundation\ParameterBag
*/
protected function getInputSource()
{
Expand All @@ -371,7 +371,7 @@ protected function getInputSource()
/**
* Get the Illuminate session store implementation.
*
* @return Illuminate\Session\Store
* @return \Illuminate\Session\Store
*/
public function getSessionStore()
{
Expand All @@ -386,7 +386,7 @@ public function getSessionStore()
/**
* Set the Illuminate session store implementation.
*
* @param Illuminate\Session\Store $session
* @param \Illuminate\Session\Store $session
* @return void
*/
public function setSessionStore(SessionStore $session)
Expand Down
4 changes: 2 additions & 2 deletions src/Illuminate/Http/Response.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ class Response extends \Symfony\Component\HttpFoundation\Response {
/**
* Add a cookie to the response.
*
* @param Symfony\Component\HttpFoundation\Cookie $cookie
* @return Illuminate\Http\Response
* @param \Symfony\Component\HttpFoundation\Cookie $cookie
* @return \Illuminate\Http\Response
*/
public function withCookie(Cookie $cookie)
{
Expand Down
6 changes: 3 additions & 3 deletions src/Illuminate/Log/Writer.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ class Writer {
/**
* The Monolog logger instance.
*
* @var Monolog\Logger
* @var \Monolog\Logger
*/
protected $monolog;

Expand All @@ -32,7 +32,7 @@ class Writer {
/**
* Create a new log writer instance.
*
* @param Monolog\Logger $monolog
* @param \Monolog\Logger $monolog
* @return void
*/
public function __construct(MonologLogger $monolog)
Expand Down Expand Up @@ -111,7 +111,7 @@ protected function parseLevel($level)
/**
* Get the underlying Monolog instance.
*
* @return Monolog\Logger
* @return \Monolog\Logger
*/
public function getMonolog()
{
Expand Down
20 changes: 10 additions & 10 deletions src/Illuminate/Mail/Mailer.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Mailer {
/**
* The view environment instance.
*
* @var Illuminate\View\Environment
* @var \Illuminate\View\Environment
*/
protected $views;

Expand All @@ -33,14 +33,14 @@ class Mailer {
/**
* The log writer instance.
*
* @var Illuminate\Log\Writer
* @var \Illuminate\Log\Writer
*/
protected $logger;

/**
* The IoC container instance.
*
* @var Illuminate\Container
* @var \Illuminate\Container\Container
*/
protected $container;

Expand All @@ -54,7 +54,7 @@ class Mailer {
/**
* Create a new Mailer instance.
*
* @param Illuminate\View\Environment $views
* @param \Illuminate\View\Environment $views
* @param Swift_Mailer $swift
* @return void
*/
Expand Down Expand Up @@ -142,7 +142,7 @@ protected function logMessage($message)
* Call the provided message builder.
*
* @param Closure|string $callback
* @param Illuminate\Mail\Message $message
* @param \Illuminate\Mail\Message $message
* @return void
*/
protected function callMessageBuilder($callback, $message)
Expand All @@ -162,7 +162,7 @@ protected function callMessageBuilder($callback, $message)
/**
* Create a new message instance.
*
* @return Illuminate\Mail\Message
* @return \Illuminate\Mail\Message
*/
protected function createMessage()
{
Expand All @@ -184,7 +184,7 @@ protected function createMessage()
*
* @param string $view
* @param array $data
* @return Illuminate\View\View
* @return \Illuminate\View\View
*/
protected function getView($view, $data)
{
Expand All @@ -205,7 +205,7 @@ public function pretend($value = true)
/**
* Get the view environment instance.
*
* @return Illuminate\View\Environment
* @return \Illuminate\View\Environment
*/
public function getViewEnvironment()
{
Expand Down Expand Up @@ -236,7 +236,7 @@ public function setSwiftMailer($swift)
/**
* Set the log writer instance.
*
* @param Illuminate\Log\Writer $logger
* @param \Illuminate\Log\Writer $logger
* @return void
*/
public function setLogger(Writer $logger)
Expand All @@ -247,7 +247,7 @@ public function setLogger(Writer $logger)
/**
* Set the IoC container instance.
*
* @param Illuminate\Container $container
* @param \Illuminate\Container\Container $container
* @return void
*/
public function setContainer(Container $container)
Expand Down
22 changes: 11 additions & 11 deletions src/Illuminate/Mail/Message.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function __construct($swift)
*
* @param string $address
* @param string $name
* @return Illuminate\Mail\Message
* @return \Illuminate\Mail\Message
*/
public function from($address, $name = null)
{
Expand All @@ -43,7 +43,7 @@ public function from($address, $name = null)
*
* @param string $address
* @param string $name
* @return Illuminate\Mail\Message
* @return \Illuminate\Mail\Message
*/
public function sender($address, $name = null)
{
Expand All @@ -56,7 +56,7 @@ public function sender($address, $name = null)
* Set the "return path" of the message.
*
* @param string $address
* @return Illuminate\Mail\Message
* @return \Illuminate\Mail\Message
*/
public function returnPath($address)
{
Expand All @@ -70,7 +70,7 @@ public function returnPath($address)
*
* @param string $address
* @param string $name
* @return Illuminate\Mail\Message
* @return \Illuminate\Mail\Message
*/
public function to($address, $name = null)
{
Expand All @@ -84,7 +84,7 @@ public function to($address, $name = null)
*
* @param string $address
* @param string $name
* @return Illuminate\Mail\Message
* @return \Illuminate\Mail\Message
*/
public function cc($address, $name = null)
{
Expand All @@ -98,7 +98,7 @@ public function cc($address, $name = null)
*
* @param string $address
* @param string $name
* @return Illuminate\Mail\Message
* @return \Illuminate\Mail\Message
*/
public function bcc($address, $name = null)
{
Expand All @@ -111,7 +111,7 @@ public function bcc($address, $name = null)
* Set the subject of the message.
*
* @param string $subject
* @return Illuminate\Mail\Message
* @return \Illuminate\Mail\Message
*/
public function subject($subject)
{
Expand All @@ -124,7 +124,7 @@ public function subject($subject)
* Set the message priority level.
*
* @param int $level
* @return Illuminate\Mail\Message
* @return \Illuminate\Mail\Message
*/
public function priority($level)
{
Expand All @@ -138,7 +138,7 @@ public function priority($level)
*
* @param string $file
* @param array $options
* @return Illuminate\Mail\Message
* @return \Illuminate\Mail\Message
*/
public function attach($file, array $options = array())
{
Expand All @@ -164,7 +164,7 @@ protected function createAttachmentFromPath($file)
* @param string $data
* @param string $name
* @param array $options
* @return Illuminate\Mail\Message
* @return \Illuminate\Mail\Message
*/
public function attachData($data, $name, array $options = array())
{
Expand Down Expand Up @@ -216,7 +216,7 @@ public function embedData($data, $name, $contentType = null)
*
* @param Swift_Attachment $attachment
* @param array $options
* @return Illuminate\Mail\Message
* @return \Illuminate\Mail\Message
*/
protected function prepAttachment($attachment, $options = array())
{
Expand Down
4 changes: 2 additions & 2 deletions src/Illuminate/Pagination/BootstrapPresenter.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class BootstrapPresenter {
/**
* The paginator instance being rendered.
*
* @var Illuminate\Pagination\Paginator
* @var \Illuminate\Pagination\Paginator
*/
protected $paginator;

Expand All @@ -26,7 +26,7 @@ class BootstrapPresenter {
/**
* Create a new Bootstrap presenter instance.
*
* @param Illuminate\Pagination\Paginator $paginator
* @param \Illuminate\Pagination\Paginator $paginator
* @return void
*/
public function __construct(Paginator $paginator)
Expand Down
Loading
0