Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 19... Línea 19...
19
    private $client;
19
    private $client;
Línea 20... Línea 20...
20
 
20
 
21
    /**
21
    /**
22
     * @param ClientInterface $client
22
     * @param ClientInterface $client
23
     */
23
     */
24
    public function __construct(ClientInterface $client = null)
24
    public function __construct(?ClientInterface $client = null)
25
    {
25
    {
26
        $this->client = $client ?: new Client();
26
        $this->client = $client ?: new Client();
Línea 27... Línea 27...
27
    }
27
    }