Skip to content

Commit 5260cd3

Browse files
committed
typo in generate_phpdoc.rb
1 parent 3515d6a commit 5260cd3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/generate_phpdoc.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def generate_operation(op)
111111
print "void "
112112
elsif required_output.length == 1
113113
print "#{required_output[0].to_php} "
114-
elsif
114+
else
115115
print "array("
116116
print required_output.map(&:to_php).join(", ")
117117
print ") "

src/AutoDocs.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@
7979
* @method Image hist_find_indexed(Image $index, array $options = []) Find indexed image histogram.
8080
* @method Image hough_line(array $options = []) Find hough line transform.
8181
* @method Image hough_circle(array $options = []) Find hough circle transform.
82-
* @method array(project(array $options = []) Find image projections.
83-
* @method array(profile(array $options = []) Find image profiles.
82+
* @method array(Image, Image) project(array $options = []) Find image projections.
83+
* @method array(Image, Image) profile(array $options = []) Find image profiles.
8484
* @method Image measure(integer $h, integer $v, array $options = []) Measure a set of patches on a colour chart.
8585
* @method array getpoint(integer $x, integer $y, array $options = []) Read a point from an image.
8686
* @method Image copy(array $options = []) Copy an image.

0 commit comments

Comments
 (0)