Skip to content

Commit 1e5fd84

Browse files
author
Tortue Torche
committed
Removed a short array syntax use as Former is PHP 5.3+
1 parent cc6f082 commit 1e5fd84

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Former/Framework/TwitterBootstrap3.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ protected function setFieldWidths($labelWidths)
185185
public function getFieldClasses(Field $field, $classes)
186186
{
187187
// Add inline class for checkables
188-
if ($field->isCheckable() and count(array_intersect(['inline', 'checkbox-inline', 'radio-inline'], $classes)) > 0) {
188+
if ($field->isCheckable() and count(array_intersect(array('inline', 'checkbox-inline', 'radio-inline'), $classes)) > 0) {
189189
$field->inline();
190190
}
191191

0 commit comments

Comments
 (0)