diff --git a/.gitignore b/.gitignore
index ff23ae3..2f87cd7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,8 +1,3 @@
/vendor
composer.phar
composer.lock
-.DS_Store
-.settings
-.buildpath
-.project
-.idea
diff --git a/LICENSE.txt b/LICENSE.txt
deleted file mode 100644
index ad570fe..0000000
--- a/LICENSE.txt
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) 2014 Davis Peixoto
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
-the Software, and to permit persons to whom the Software is furnished to do so,
-subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
-FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
-COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
-IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
-CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
diff --git a/phpunit.xml b/phpunit.xml
index e89ac6d..3347b75 100644
--- a/phpunit.xml
+++ b/phpunit.xml
@@ -15,4 +15,4 @@
./tests/
-
\ No newline at end of file
+
diff --git a/src/Davispeixoto/LaravelSalesforce/Facades/Salesforce.php b/src/Davispeixoto/LaravelSalesforce/Facades/Salesforce.php
index 3d6c68f..36ad54a 100644
--- a/src/Davispeixoto/LaravelSalesforce/Facades/Salesforce.php
+++ b/src/Davispeixoto/LaravelSalesforce/Facades/Salesforce.php
@@ -11,4 +11,4 @@ class Salesforce extends Facade {
protected static function getFacadeAccessor() {
return 'salesforce';
}
-}
\ No newline at end of file
+}
diff --git a/src/Davispeixoto/LaravelSalesforce/LaravelSalesforceServiceProvider.php b/src/Davispeixoto/LaravelSalesforce/LaravelSalesforceServiceProvider.php
index 1a18c43..8a98b8c 100644
--- a/src/Davispeixoto/LaravelSalesforce/LaravelSalesforceServiceProvider.php
+++ b/src/Davispeixoto/LaravelSalesforce/LaravelSalesforceServiceProvider.php
@@ -50,4 +50,3 @@ public function provides()
}
}
-?>
\ No newline at end of file
diff --git a/src/Davispeixoto/LaravelSalesforce/Salesforce.php b/src/Davispeixoto/LaravelSalesforce/Salesforce.php
index 02b734c..82fb609 100644
--- a/src/Davispeixoto/LaravelSalesforce/Salesforce.php
+++ b/src/Davispeixoto/LaravelSalesforce/Salesforce.php
@@ -17,7 +17,7 @@ class Salesforce
{
/**
- * @var \Davispeixoto\ForceDotComToolkitForPhp\SforceBaseClient sfh The Salesforce Handler
+ * @var \Davispeixoto\ForceDotComToolkitForPhp\SforceEnterpriseClient sfh The Salesforce Handler
*/
public $sfh;
@@ -45,7 +45,6 @@ public function __construct(Repository $configExternal)
$this->sfh->login($configExternal->get('laravel-salesforce::username'),
$configExternal->get('laravel-salesforce::password') . $configExternal->get('laravel-salesforce::token'));
- return $this;
} catch (\Exception $e) {
Log::error($e->getMessage());
throw new SalesforceException('Exception no Construtor' . $e->getMessage() . "\n\n" . $e->getTraceAsString());
@@ -200,9 +199,9 @@ public function setMruHeader($header)
$this->sfh->setMruHeader($header);
}
- public function setSessionHeader($id)
+ public function setSessionHeader($sessionId)
{
- $this->sfh->setSessionHeader($id);
+ $this->sfh->setSessionHeader($sessionId);
}
public function setUserTerritoryDeleteHeader($header)
@@ -523,5 +522,3 @@ public function dump()
print_r($this, true);
}
}
-
-?>
\ No newline at end of file
diff --git a/src/Davispeixoto/LaravelSalesforce/SalesforceException.php b/src/Davispeixoto/LaravelSalesforce/SalesforceException.php
index 3510387..b94a183 100644
--- a/src/Davispeixoto/LaravelSalesforce/SalesforceException.php
+++ b/src/Davispeixoto/LaravelSalesforce/SalesforceException.php
@@ -3,4 +3,4 @@
class SalesforceException extends \Exception
{
-}
\ No newline at end of file
+}
diff --git a/src/Davispeixoto/LaravelSalesforce/Wsdl/enterprise.wsdl.xml b/src/Davispeixoto/LaravelSalesforce/Wsdl/enterprise.wsdl.xml
index 39db29c..14a9256 100644
--- a/src/Davispeixoto/LaravelSalesforce/Wsdl/enterprise.wsdl.xml
+++ b/src/Davispeixoto/LaravelSalesforce/Wsdl/enterprise.wsdl.xml
@@ -6299,4 +6299,4 @@ All Rights Reserved
-
\ No newline at end of file
+
diff --git a/src/Davispeixoto/LaravelSalesforce/Wsdl/metadata.wsdl.xml b/src/Davispeixoto/LaravelSalesforce/Wsdl/metadata.wsdl.xml
index fed5bd9..84ed531 100644
--- a/src/Davispeixoto/LaravelSalesforce/Wsdl/metadata.wsdl.xml
+++ b/src/Davispeixoto/LaravelSalesforce/Wsdl/metadata.wsdl.xml
@@ -3334,4 +3334,4 @@ Copyright 2006-2010 Salesforce.com, inc. All Rights Reserved
-
\ No newline at end of file
+
diff --git a/src/Davispeixoto/LaravelSalesforce/Wsdl/partner.wsdl.xml b/src/Davispeixoto/LaravelSalesforce/Wsdl/partner.wsdl.xml
index 3bb5766..e0369cd 100644
--- a/src/Davispeixoto/LaravelSalesforce/Wsdl/partner.wsdl.xml
+++ b/src/Davispeixoto/LaravelSalesforce/Wsdl/partner.wsdl.xml
@@ -3128,4 +3128,4 @@ All Rights Reserved
-
\ No newline at end of file
+
diff --git a/src/config/config.php b/src/config/config.php
index b1153c7..0de1043 100644
--- a/src/config/config.php
+++ b/src/config/config.php
@@ -14,4 +14,4 @@
'password' => '',
'token' => '',
'wsdl' => app_path() . '/wsdl/enterprise.wsdl.xml',
-);
\ No newline at end of file
+);
diff --git a/src/config/local/config.php b/src/config/local/config.php
index 2e8c24e..9b7a8e1 100644
--- a/src/config/local/config.php
+++ b/src/config/local/config.php
@@ -14,4 +14,4 @@
'password' => '',
'token' => '',
'wsdl' => app_path() . '/wsdl/enterprise.sandbox.wsdl.xml',
-);
\ No newline at end of file
+);