Issues (130)

src/Script/ScriptWitnessInterface.php (1 issue)

1
<?php
2
3
declare(strict_types=1);
4
5
namespace BitWasp\Bitcoin\Script;
6
7
use BitWasp\Bitcoin\Collection\CollectionInterface;
8
use BitWasp\Buffertools\BufferInterface;
9
use BitWasp\Buffertools\SerializableInterface;
10
11
interface ScriptWitnessInterface extends CollectionInterface, SerializableInterface
0 ignored issues
show
Deprecated Code introduced by
The interface BitWasp\Bitcoin\Collection\CollectionInterface has been deprecated: v2.0.0 ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-deprecated  annotation

11
interface ScriptWitnessInterface extends /** @scrutinizer ignore-deprecated */ CollectionInterface, SerializableInterface

This interface has been deprecated. The supplier of the interface has supplied an explanatory message.

The explanatory message should give you some clue as to whether and when the interface will be removed and what other interface to use instead.

Loading history...
12
{
13
    /**
14
     * @return BufferInterface[]
15
     */
16
    public function all(): array;
17
18
    /**
19
     * @param ScriptWitnessInterface $witness
20
     * @return bool
21
     */
22
    public function equals(ScriptWitnessInterface $witness): bool;
23
}
24