Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Documentation improvement Zend\View\Stream #3973

Closed
wants to merge 2 commits into from

3 participants

@ThaDafinser

Added @return in docblock

@Maks3w
Collaborator

Integer + boolean or int + bool but don't mix long words with short words.

Short words is the most common case in the framework. Can you change integer for int?

@ThaDafinser

@Maks3w should be good now.

Thanks.

@weierophinney weierophinney was assigned
@weierophinney weierophinney referenced this pull request from a commit
@weierophinney weierophinney [#3973] CS fixes
- trailing whitespace
732f4a2
@curious-eyes curious-eyes referenced this pull request from a commit in curious-eyes/zf2
@weierophinney weierophinney [#3973] CS fixes
- trailing whitespace
a2f7626
@ghost Unknown referenced this pull request from a commit
@weierophinney weierophinney [#3973] CS fixes
- trailing whitespace
114fbb7
@ghost Unknown referenced this pull request from a commit
@weierophinney weierophinney Merge branch 'hotfix/3973'
Close #3973
0fbe207
@ghost Unknown referenced this pull request from a commit
@weierophinney weierophinney Merge branch 'hotfix/3973' into develop
Forward port #3973
6142abe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 6, 2013
  1. @ThaDafinser
  2. @ThaDafinser

    Update Stream.php

    ThaDafinser authored
    integer -> int
This page is out of date. Refresh to see the latest.
Showing with 12 additions and 0 deletions.
  1. +12 −0 library/Zend/View/Stream.php
View
12 library/Zend/View/Stream.php
@@ -47,6 +47,8 @@ class Stream
/**
* Opens the script file and converts markup.
+ *
+ * @return bool
*/
public function stream_open($path, $mode, $options, &$opened_path)
{
@@ -92,6 +94,8 @@ public function url_stat()
/**
* Reads from the stream.
+ *
+ * @return string|false
*/
public function stream_read($count)
{
@@ -103,6 +107,8 @@ public function stream_read($count)
/**
* Tells the current position in the stream.
+ *
+ * @return int
*/
public function stream_tell()
{
@@ -112,6 +118,8 @@ public function stream_tell()
/**
* Tells if we are at the end of the stream.
+ *
+ * @return bool
*/
public function stream_eof()
{
@@ -121,6 +129,8 @@ public function stream_eof()
/**
* Stream statistics.
+ *
+ * @return array
*/
public function stream_stat()
{
@@ -130,6 +140,8 @@ public function stream_stat()
/**
* Seek to a specific point in the stream.
+ *
+ * @return bool
*/
public function stream_seek($offset, $whence)
{
Something went wrong with that request. Please try again.