@@ -23,8 +23,9 @@ |
||
23 | 23 | |
24 | 24 | // let us read a bigger data set: |
25 | 25 | $data = array(); |
26 | -foreach(file(__DIR__."/../../tests/_data/ex_histogram.data") as $item) |
|
26 | +foreach(file(__DIR__."/../../tests/_data/ex_histogram.data") as $item) { |
|
27 | 27 | $data[] = floatval(trim($item)); |
28 | +} |
|
28 | 29 | |
29 | 30 | // let's do a simple histogram |
30 | 31 | $h->setType(\PEAR\Histogram\AbstractHistogram::HISTOGRAM_SIMPLE); |