Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 326093e

Browse files
committed
Merge branch '4.1'
2 parents 58167d9 + f3d1441 commit 326093e

4 files changed

Lines changed: 4 additions & 6 deletions

File tree

src/Illuminate/Database/Schema/Builder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public function hasColumn($table, $column)
7373
* @param string $table
7474
* @return array
7575
*/
76-
protected function getColumnListing($table)
76+
public function getColumnListing($table)
7777
{
7878
$table = $this->connection->getTablePrefix().$table;
7979

src/Illuminate/Database/Schema/MySqlBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public function hasTable($table)
2525
* @param string $table
2626
* @return array
2727
*/
28-
protected function getColumnListing($table)
28+
public function getColumnListing($table)
2929
{
3030
$sql = $this->grammar->compileColumnExists();
3131

src/Illuminate/Queue/Connectors/SqsConnector.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ class SqsConnector implements ConnectorInterface {
1313
*/
1414
public function connect(array $config)
1515
{
16-
$sqsConfig = array_only($config, array('key', 'secret', 'region', 'default_cache_config'));
17-
18-
$sqs = SqsClient::factory($sqsConfig);
16+
$sqs = SqsClient::factory($config);
1917

2018
return new SqsQueue($sqs, $config['queue']);
2119
}

src/Illuminate/Validation/Validator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1129,7 +1129,7 @@ protected function validateMimes($attribute, $value, $parameters)
11291129
{
11301130
if ( ! $value instanceof File)
11311131
{
1132-
return true;
1132+
return false;
11331133
}
11341134

11351135
// The Symfony File class should do a decent job of guessing the extension

0 commit comments

Comments
 (0)