Skip to content

Commit

Permalink
[phalcon#16102] - fixing stubs
Browse files Browse the repository at this point in the history
  • Loading branch information
niden committed Sep 19, 2022
1 parent 2e62482 commit 8182a1a
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 13 deletions.
6 changes: 3 additions & 3 deletions phalcon/Http/Request/File.zep
Original file line number Diff line number Diff line change
Expand Up @@ -101,23 +101,23 @@ class File implements FileInterface
}

/**
* @var string|null
* @return string|null
*/
public function getError() -> string | null
{
return this->error;
}

/**
* @var string
* @return string
*/
public function getExtension() -> string
{
return this->extension;
}

/**
* @var string|null
* @return string|null
*/
public function getKey() -> string | null
{
Expand Down
3 changes: 0 additions & 3 deletions phalcon/Http/Request/FileInterface.zep
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,7 @@
namespace Phalcon\Http\Request;

/**
* Phalcon\Http\Request\FileInterface
*
* Interface for Phalcon\Http\Request\File
*
*/
interface FileInterface
{
Expand Down
4 changes: 1 addition & 3 deletions phalcon/Logger/Formatter/AbstractFormatter.zep
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ use Phalcon\Support\Helper\Str\AbstractStr;

/**
* Class AbstractFormatter
*
* @property string $dateFormat
*/
abstract class AbstractFormatter extends AbstractStr implements FormatterInterface
{
Expand All @@ -31,7 +29,7 @@ abstract class AbstractFormatter extends AbstractStr implements FormatterInterfa
/**
* Return the default date format
*
* @var string
* @return string
*/
public function getDateFormat() -> string
{
Expand Down
2 changes: 0 additions & 2 deletions phalcon/Logger/Formatter/Json.zep
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ use JsonException;
use Phalcon\Logger\Item;

/**
* Phalcon\Logger\Formatter\Json
*
* Formats messages using JSON encoding
*/
class Json extends AbstractFormatter
Expand Down
2 changes: 0 additions & 2 deletions phalcon/Logger/Formatter/Line.zep
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ use Phalcon\Logger\Item;

/**
* Class Line
*
* @property string $format
*/
class Line extends AbstractFormatter
{
Expand Down

0 comments on commit 8182a1a

Please sign in to comment.