Fixing CS

Signed-off-by: Adam Engebretson <adam.engebretson@bridgeconx.com>
This commit is contained in:
Adam Engebretson committed 2015-12-01 03:44:46 -06:00
1 parent 5b7668573d
commit 68f2a68c47
6 files changed
+19 -18

No files matched your search

+1 -1
View File
@@ -78,7 +78,7 @@ trait FormAccessible
*/
protected function getReflection()
{
if ( ! $this->reflection) {
if (! $this->reflection) {
$this->reflection = new ReflectionClass($this);
}
+7 -7
View File
@@ -235,7 +235,7 @@ class FormBuilder
*/
public function input($type, $name, $value = null, $options = [])
{
if ( ! isset($options['name'])) {
if (! isset($options['name'])) {
$options['name'] = $name;
}
@@ -244,7 +244,7 @@ class FormBuilder
// in the model instance if one is set. Otherwise we will just use empty.
$id = $this->getIdAttribute($name, $options);
if ( ! in_array($type, $this->skipValueTypes)) {
if (! in_array($type, $this->skipValueTypes)) {
$value = $this->getValueAttribute($name, $value);
}
@@ -447,7 +447,7 @@ class FormBuilder
*/
public function textarea($name, $value = null, $options = [])
{
if ( ! isset($options['name'])) {
if (! isset($options['name'])) {
$options['name'] = $name;
}
@@ -526,7 +526,7 @@ class FormBuilder
$options['id'] = $this->getIdAttribute($name, $options);
if ( ! isset($options['name'])) {
if (! isset($options['name'])) {
$options['name'] = $name;
}
@@ -906,7 +906,7 @@ class FormBuilder
*/
public function button($value = null, $options = [])
{
if ( ! array_key_exists('type', $options)) {
if (! array_key_exists('type', $options)) {
$options['type'] = 'button';
}
@@ -1066,11 +1066,11 @@ class FormBuilder
return $value;
}
if ( ! is_null($this->old($name))) {
if (! is_null($this->old($name))) {
return $this->old($name);
}
if ( ! is_null($value)) {
if (! is_null($value)) {
return $value;
}
+2 -2
View File
@@ -407,7 +407,7 @@ class HtmlBuilder
foreach ((array) $attributes as $key => $value) {
$element = $this->attributeElement($key, $value);
if ( ! is_null($element)) {
if (! is_null($element)) {
$html[] = $element;
}
}
@@ -432,7 +432,7 @@ class HtmlBuilder
$key = $value;
}
if ( ! is_null($value)) {
if (! is_null($value)) {
return $key . '="' . e($value) . '"';
}
}
+4 -4
View File
@@ -1,6 +1,6 @@
<?php
if ( ! function_exists('link_to')) {
if (! function_exists('link_to')) {
/**
* Generate a HTML link.
*
@@ -17,7 +17,7 @@ if ( ! function_exists('link_to')) {
}
}
if ( ! function_exists('link_to_asset')) {
if (! function_exists('link_to_asset')) {
/**
* Generate a HTML link to an asset.
*
@@ -34,7 +34,7 @@ if ( ! function_exists('link_to_asset')) {
}
}
if ( ! function_exists('link_to_route')) {
if (! function_exists('link_to_route')) {
/**
* Generate a HTML link to a named route.
*
@@ -51,7 +51,7 @@ if ( ! function_exists('link_to_route')) {
}
}
if ( ! function_exists('link_to_action')) {
if (! function_exists('link_to_action')) {
/**
* Generate a HTML link to a controller action.
*