@@ -2,10 +2,9 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Integrations\Connectors\PhotoAcompanhante; |
| 4 | 4 | |
| 5 | -use Log; |
|
| 6 | 5 | use App\Models\User; |
| 7 | -use QL\QueryList; |
|
| 8 | 6 | use Fabrica\Tools\Proxy; |
| 7 | +use QL\QueryList; |
|
| 9 | 8 | |
| 10 | 9 | class Import extends PhotoAcompanhante |
| 11 | 10 | { |
@@ -2,9 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Integrations\Connectors\PhotoAcompanhante; |
| 4 | 4 | |
| 5 | -use App\Models\Model; |
|
| 6 | -use Log; |
|
| 7 | -use App\Models\User; |
|
| 8 | 5 | use Integrations\Connectors\Connector; |
| 9 | 6 | |
| 10 | 7 | class PhotoAcompanhante extends Connector |
@@ -2,9 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Integrations\Connectors\Pipedrive; |
| 4 | 4 | |
| 5 | -use Log; |
|
| 6 | -use App\Models\User; |
|
| 7 | - |
|
| 8 | 5 | class Create extends Pipedrive |
| 9 | 6 | { |
| 10 | 7 | public function project(Project $project) |
@@ -2,9 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Integrations\Connectors\Pipedrive; |
| 4 | 4 | |
| 5 | -use Log; |
|
| 6 | -use App\Models\User; |
|
| 7 | - |
|
| 8 | 5 | class Update extends Pipedrive |
| 9 | 6 | { |
| 10 | 7 | public function organization(Organization $organization) |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Integrations\Connectors\SenhorVerdugo; |
| 4 | 4 | |
| 5 | -use Log; |
|
| 6 | 5 | use App\Models\Project as ProjectModel; |
| 7 | 6 | use SenhorVerdugoRestApi\Project\ProjectService; |
| 8 | 7 | use SenhorVerdugoRestApi\SenhorVerdugoException; |
@@ -2,8 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Integrations\Connectors\Sentry; |
| 4 | 4 | |
| 5 | -use Log; |
|
| 6 | - |
|
| 7 | 5 | |
| 8 | 6 | class Import extends Sentry |
| 9 | 7 | { |
@@ -2,9 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Integrations\Connectors\Tumblr; |
| 4 | 4 | |
| 5 | -use Log; |
|
| 6 | -use App\Models\User; |
|
| 7 | - |
|
| 8 | 5 | class Post extends Tumblr |
| 9 | 6 | { |
| 10 | 7 | |
@@ -2,9 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Integrations\Connectors\Tumblr; |
| 4 | 4 | |
| 5 | -use Log; |
|
| 6 | -use App\Models\User; |
|
| 7 | - |
|
| 8 | 5 | class Relation extends Tumblr |
| 9 | 6 | { |
| 10 | 7 | |
@@ -201,6 +201,12 @@ discard block |
||
| 201 | 201 | // (1) do a lookup in a table of trusted certs keyed off of consumer |
| 202 | 202 | // |
| 203 | 203 | // Either way should return a string representation of the certificate |
| 204 | + |
|
| 205 | + /** |
|
| 206 | + * @param OAuthRequest $request |
|
| 207 | + * |
|
| 208 | + * @return string |
|
| 209 | + */ |
|
| 204 | 210 | protected abstract function fetch_private_cert(&$request); |
| 205 | 211 | |
| 206 | 212 | public function build_signature($request, $consumer, $token) |
@@ -338,6 +344,9 @@ discard block |
||
| 338 | 344 | return new OAuthRequest($http_method, $http_url, $parameters); |
| 339 | 345 | } |
| 340 | 346 | |
| 347 | + /** |
|
| 348 | + * @param string $name |
|
| 349 | + */ |
|
| 341 | 350 | public function set_parameter($name, $value, $allow_duplicates = true) |
| 342 | 351 | { |
| 343 | 352 | if ($allow_duplicates && isset($this->parameters[$name])) { |