src/AuraSqlReplicationDbProvider.php
public function get()
    {
        $connectionLocator = $this->injector->getInstance(ConnectionLocatorInterface::class, $this->context);
        $isGetRequest = isset($_SERVER['REQUEST_METHOD']) && $_SERVER['REQUEST_METHOD'] === 'GET';
        $pdo = $isGetRequest ? $connectionLocator->getRead() : $connectionLocator->getWrite();

        return $pdo;
    }
public function get()
    {
        $connectionLocator = $this->injector->getInstance(ConnectionLocatorInterface::class, $this->context);
        $isGetRequest = isset($_SERVER['REQUEST_METHOD']) && $_SERVER['REQUEST_METHOD'] === 'GET';
        $pdo = $isGetRequest ? $connectionLocator->getRead() : $connectionLocator->getWrite();

        return $pdo;
    }
{@inheritdoc}