Issues (1270)

lib/floIcon.php (3 issues)

1
<?php
2
// Compatibility shim for hooking up jimIcon to Tiny Tiny RSS.
3
4
require_once "jimIcon.php";
5
6
class floIconIcon {
7
        function getImageResource() {
8
                return $this->img;
0 ignored issues
show
Bug Best Practice introduced by
The property img does not exist on floIconIcon. Did you maybe forget to declare it?
Loading history...
9
        }
10
}
11
12
class floIcon {
13
        function readICO($file) {
14
                $jim = new jimIcon();
15
                $icon = new floIconIcon();
16
                $icon->img = $jim->fromiconstring(file_get_contents($file));
0 ignored issues
show
The property img does not seem to exist on floIconIcon.
Loading history...
17
                $this->images = array($icon);
0 ignored issues
show
Bug Best Practice introduced by
The property images does not exist. Although not strictly required by PHP, it is generally a best practice to declare properties explicitly.
Loading history...
18
        }
19
}
20
?>
21