Skip to content

Commit

Permalink
Updating the doc block and other stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
arcanedev-maroc committed Feb 27, 2019
1 parent 644af3e commit 9d03864
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 76 deletions.
58 changes: 27 additions & 31 deletions src/Contracts/FormBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public function close();
/**
* Generate a hidden field with the current CSRF token.
*
* @return \Illuminate\Support\HtmlString
* @return \Arcanedev\Html\Elements\Input
*/
public function token();

Expand All @@ -120,7 +120,7 @@ public function token();
* @param array $attributes
* @param bool $escaped
*
* @return \Illuminate\Support\HtmlString
* @return \Arcanedev\Html\Elements\Label
*/
public function label($name, $value = null, array $attributes = [], $escaped = true);

Expand All @@ -132,7 +132,7 @@ public function label($name, $value = null, array $attributes = [], $escaped = t
* @param string|mixed $value
* @param array $attributes
*
* @return \Illuminate\Support\HtmlString
* @return \Arcanedev\Html\Elements\Input
*/
public function input($type, $name, $value = null, array $attributes = []);

Expand All @@ -143,7 +143,7 @@ public function input($type, $name, $value = null, array $attributes = []);
* @param string|mixed $value
* @param array $attributes
*
* @return \Illuminate\Support\HtmlString
* @return \Arcanedev\Html\Elements\Input
*/
public function text($name, $value = null, array $attributes = []);

Expand All @@ -153,7 +153,7 @@ public function text($name, $value = null, array $attributes = []);
* @param string $name
* @param array $attributes
*
* @return \Illuminate\Support\HtmlString
* @return \Arcanedev\Html\Elements\Input
*/
public function password($name, array $attributes = []);

Expand All @@ -164,7 +164,7 @@ public function password($name, array $attributes = []);
* @param string $value
* @param array $attributes
*
* @return \Illuminate\Support\HtmlString
* @return \Arcanedev\Html\Elements\Input
*/
public function hidden($name, $value = null, array $attributes = []);

Expand All @@ -175,7 +175,7 @@ public function hidden($name, $value = null, array $attributes = []);
* @param string $value
* @param array $attributes
*
* @return \Illuminate\Support\HtmlString
* @return \Arcanedev\Html\Elements\Input
*/
public function email($name, $value = null, array $attributes = []);

Expand All @@ -186,7 +186,7 @@ public function email($name, $value = null, array $attributes = []);
* @param string $value
* @param array $attributes
*
* @return \Illuminate\Support\HtmlString
* @return \Arcanedev\Html\Elements\Input
*/
public function tel($name, $value = null, array $attributes = []);

Expand All @@ -197,7 +197,7 @@ public function tel($name, $value = null, array $attributes = []);
* @param string $value
* @param array $attributes
*
* @return \Illuminate\Support\HtmlString
* @return \Arcanedev\Html\Elements\Input
*/
public function number($name, $value = null, array $attributes = []);

Expand All @@ -208,7 +208,7 @@ public function number($name, $value = null, array $attributes = []);
* @param string $value
* @param array $attributes
*
* @return \Illuminate\Support\HtmlString
* @return \Arcanedev\Html\Elements\Input
*/
public function date($name, $value = null, array $attributes = []);

Expand All @@ -219,7 +219,7 @@ public function date($name, $value = null, array $attributes = []);
* @param string $value
* @param array $attributes
*
* @return \Illuminate\Support\HtmlString
* @return \Arcanedev\Html\Elements\Input
*/
public function time($name, $value = null, array $attributes = []);

Expand All @@ -230,7 +230,7 @@ public function time($name, $value = null, array $attributes = []);
* @param string $value
* @param array $attributes
*
* @return \Illuminate\Support\HtmlString
* @return \Arcanedev\Html\Elements\Input
*/
public function url($name, $value = null, array $attributes = []);

Expand All @@ -240,7 +240,7 @@ public function url($name, $value = null, array $attributes = []);
* @param string $name
* @param array $attributes
*
* @return \Illuminate\Support\HtmlString
* @return \Arcanedev\Html\Elements\File
*/
public function file($name, array $attributes = []);

Expand All @@ -251,7 +251,7 @@ public function file($name, array $attributes = []);
* @param string $value
* @param array $attributes
*
* @return \Illuminate\Support\HtmlString
* @return \Arcanedev\Html\Elements\Textarea
*/
public function textarea($name, $value = null, array $attributes = []);

Expand All @@ -265,15 +265,11 @@ public function textarea($name, $value = null, array $attributes = []);
* @param array $optionsAttributes
* @param array $optgroupsAttributes
*
* @return \Illuminate\Support\HtmlString
* @return \Arcanedev\Html\Elements\Select
*/
public function select(
$name,
$list = [],
$selected = null,
array $attributes = [],
array $optionsAttributes = [],
array $optgroupsAttributes = []
$name, $list = [], $selected = null,
array $attributes = [], array $optionsAttributes = [], array $optgroupsAttributes = []
);

/**
Expand All @@ -285,7 +281,7 @@ public function select(
* @param string $selected
* @param array $attributes
*
* @return \Illuminate\Support\HtmlString
* @return \Arcanedev\Html\Elements\Select
*/
public function selectRange($name, $begin, $end, $selected = null, array $attributes = []);

Expand All @@ -298,7 +294,7 @@ public function selectRange($name, $begin, $end, $selected = null, array $attrib
* @param string $selected
* @param array $attributes
*
* @return \Illuminate\Support\HtmlString
* @return \Arcanedev\Html\Elements\Select
*/
public function selectYear($name, $begin, $end, $selected = null, array $attributes = []);

Expand All @@ -310,7 +306,7 @@ public function selectYear($name, $begin, $end, $selected = null, array $attribu
* @param array $attributes
* @param string $format
*
* @return \Illuminate\Support\HtmlString
* @return \Arcanedev\Html\Elements\Select
*/
public function selectMonth($name, $selected = null, array $attributes = [], $format = '%B');

Expand All @@ -322,7 +318,7 @@ public function selectMonth($name, $selected = null, array $attributes = [], $fo
* @param bool|null $checked
* @param array $attributes
*
* @return \Illuminate\Support\HtmlString
* @return \Arcanedev\Html\Elements\Input
*/
public function checkbox($name, $value = 1, $checked = null, array $attributes = []);

Expand All @@ -334,7 +330,7 @@ public function checkbox($name, $value = 1, $checked = null, array $attributes =
* @param bool $checked
* @param array $attributes
*
* @return \Illuminate\Support\HtmlString
* @return \Arcanedev\Html\Elements\Input
*/
public function radio($name, $value = null, $checked = null, array $attributes = []);

Expand All @@ -344,7 +340,7 @@ public function radio($name, $value = null, $checked = null, array $attributes =
* @param string $value
* @param array $attributes
*
* @return \Illuminate\Support\HtmlString
* @return \Arcanedev\Html\Elements\Button
*/
public function reset($value, array $attributes = []);

Expand All @@ -355,7 +351,7 @@ public function reset($value, array $attributes = []);
* @param string|null $name
* @param array $attributes
*
* @return \Illuminate\Support\HtmlString
* @return \Arcanedev\Html\Elements\Input
*/
public function image($url, $name = null, array $attributes = []);

Expand All @@ -365,7 +361,7 @@ public function image($url, $name = null, array $attributes = []);
* @param string $value
* @param array $attributes
*
* @return \Illuminate\Support\HtmlString
* @return \Arcanedev\Html\Elements\Button
*/
public function submit($value = null, array $attributes = []);

Expand All @@ -375,7 +371,7 @@ public function submit($value = null, array $attributes = []);
* @param string $value
* @param array $attributes
*
* @return \Illuminate\Support\HtmlString
* @return \Arcanedev\Html\Elements\Button
*/
public function button($value = null, array $attributes = []);

Expand All @@ -386,7 +382,7 @@ public function button($value = null, array $attributes = []);
* @param string $value
* @param array $attributes
*
* @return \Illuminate\Support\HtmlString
* @return \Arcanedev\Html\Elements\Input
*/
public function color($name, $value = null, array $attributes = []);

Expand Down
Loading

0 comments on commit 9d03864

Please sign in to comment.