Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 148 | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 148 Revision 688
Zeile 113... Zeile 113...
113
     * When EXCLUDE_STRICT is set, an "and" logic is applied: all bits must match for a property to be removed.
113
     * When EXCLUDE_STRICT is set, an "and" logic is applied: all bits must match for a property to be removed.
114
     *
114
     *
115
     * @param array    $a                The array containing the properties to filter
115
     * @param array    $a                The array containing the properties to filter
116
     * @param int      $filter           A bit field of Caster::EXCLUDE_* constants specifying which properties to filter out
116
     * @param int      $filter           A bit field of Caster::EXCLUDE_* constants specifying which properties to filter out
117
     * @param string[] $listedProperties List of properties to exclude when Caster::EXCLUDE_VERBOSE is set, and to preserve when Caster::EXCLUDE_NOT_IMPORTANT is set
117
     * @param string[] $listedProperties List of properties to exclude when Caster::EXCLUDE_VERBOSE is set, and to preserve when Caster::EXCLUDE_NOT_IMPORTANT is set
118
     * @param int      &$count           Set to the number of removed properties
118
     * @param int|null &$count           Set to the number of removed properties
119
     */
119
     */
120
    public static function filter(array $a, int $filter, array $listedProperties = [], ?int &$count = 0): array
120
    public static function filter(array $a, int $filter, array $listedProperties = [], ?int &$count = 0): array
121
    {
121
    {
122
        $count = 0;
122
        $count = 0;