Proyectos de Subversion Moodle

Rev

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

Rev 1 Rev 1441
Línea 1... Línea 1...
1
<?php
1
<?php
Línea -... Línea 2...
-
 
2
 
-
 
3
declare(strict_types=1);
2
 
4
 
Línea 3... Línea 5...
3
namespace GuzzleHttp\Promise;
5
namespace GuzzleHttp\Promise;
4
 
6
 
5
/**
7
/**
6
 * Exception thrown when too many errors occur in the some() or any() methods.
8
 * Exception thrown when too many errors occur in the some() or any() methods.
7
 */
9
 */
8
class AggregateException extends RejectionException
10
class AggregateException extends RejectionException
9
{
11
{
10
    public function __construct($msg, array $reasons)
12
    public function __construct(string $msg, array $reasons)
11
    {
13
    {
12
        parent::__construct(
14
        parent::__construct(
13
            $reasons,
15
            $reasons,