Skip to content

Commit

Permalink
Remove all connection classes and references
Browse files Browse the repository at this point in the history
  • Loading branch information
yash30201 committed Apr 3, 2024
1 parent fcdcf9b commit 4c32fc9
Show file tree
Hide file tree
Showing 23 changed files with 125 additions and 4,293 deletions.
5 changes: 1 addition & 4 deletions Core/src/Testing/DatastoreOperationRefreshTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

use Google\ApiCore\Serializer;
use Google\Cloud\Core\RequestHandler;
use Google\Cloud\Datastore\Connection\ConnectionInterface;
use Google\Cloud\Datastore\EntityMapper;
use Google\Cloud\Datastore\Operation;
use Google\Cloud\Datastore\V1\Client\DatastoreClient;
Expand All @@ -37,7 +36,6 @@ trait DatastoreOperationRefreshTrait
* Refresh the operation property of a given stubbed class.
*
* @param mixed $stub
* @param ConnectionInterface $connection
* @param RequestHandler $requestHandler
* @param array $options {
* Configuration Options
Expand All @@ -48,7 +46,7 @@ trait DatastoreOperationRefreshTrait
* }
* @return mixed
*/
public function refreshOperation($stub, ConnectionInterface $connection, RequestHandler $requestHandler, array $options = [])
public function refreshOperation($stub, RequestHandler $requestHandler, array $options = [])
{
$options += [
'projectId' => null,
Expand Down Expand Up @@ -80,7 +78,6 @@ public function refreshOperation($stub, ConnectionInterface $connection, Request
]);

$stub->___setProperty('operation', new Operation(
$connection,
$requestHandler,
$serializer,
$options['projectId'],
Expand Down
62 changes: 0 additions & 62 deletions Datastore/src/Connection/ConnectionInterface.php

This file was deleted.

Loading

0 comments on commit 4c32fc9

Please sign in to comment.