cloudflare / cloudflare/cloudflare-php
Adapter Interface should not enforce constructor
- Lingua principale
- PHP
- Stelle
- 674
- Fork
- 268
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
https://github.com/cloudflare/cloudflare-php/blob/master/src/Adapter/Adapter.php#L26
```
interface Adapter
{
/**
* Adapter constructor.
*
* @param Auth $auth
* @param string $baseURI
*/
public function __construct(Auth $auth, string $baseURI);
```
An interface should not enforce any constructor as this is an implementation-issue
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Start with src/Adapter/Adapter.php around line 26 and read the Adapter interface and its constructor declaration. Done means the interface no longer enforces an implementation-specific constructor; check the repository's adapter implementations for compatibility and run the relevant test suite if available.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- php
- Ambito
- api
- Tipo di issue
- Refactoring
- Difficoltà
- 1/5
- Tempo stimato
- Meno di un'ora
- Stato di attività
- Ferma
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 45/100